Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Questions re planning for SQL server
Message
From
18/05/2018 17:05:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
18/05/2018 16:10:15
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
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:
01660135
Views:
43
>>>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).

Ditto here... The bottleneck which crapped out on the video files was storing the filetostr() into a vairable. Doing a copy memo / append memo did the trick.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform