Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Questions re planning for SQL server
Message
From
18/05/2018 16:10:15
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
18/05/2018 13:55:38
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01660042
Message ID:
01660130
Views:
52
>>That's the limit on string value in a variable (perhaps not even there, but many string functions may chop it) but not on a memo field. You can still do strtofile() and filetostr() straight with a memo field. I saw it work for a few hundred megabytes.
>
>I think someone did point out that StrToFile()/FileToStr() can handle larger strings - in this case, the string has to be run through STRCONV() because of encoding and STREXTRACT() to pull out data between tags so from what I can tell, we are bumping up against 16MB limits once we get to those other functions. Mind you, if I rewrote the entire app myself to do a away with it going through this document app, maybe I would not need any of that.

I recently imported a bunch of documents into SQL Server 2012. For some operations large strings can be used as pointed out in Rick Strahl's blog: https://west-wind.com/wconnect/weblog/ShowEntry.blog?id=882 .

My import was about 70,000 documents totaling about 50GB. The process worked with documents up to around 300MB, although I wasn't doing anything like encoding/decoding. ISTR one file that was about 325 - 350MB crapping out, so in the import I limited file size to 300MB and logged any files encountered that were larger than that (typically video recordings of meetings).
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform