Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a file through a stored procedure
Message
From
14/05/2017 19:22:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/05/2017 16:21:39
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01651070
Message ID:
01651094
Views:
116
>>>@All,
>>>
>>>We are investigating whether it would be possible to return a file somewhere that the SQL server service has access to by calling a stored procedure.
>>>We do not want to store the file itself in the database, but we want to return and store the through simple calls through ODBC.
>>>
>>>Is there anything like that possible ? Wihtout using CLR ?
>>>
>>>Walter,
>>
>>If it is SQL server, then what is wrong with storing the files in the database (while physically they are separately on the disk)? You would then simply read/write them as a regular field. Check FILESTREAM attribute if file sizes are above 1 Mb.
>
>It bloats the database. Since for many customers our databse is stored on high performance SQL server clusters where available diskspace is very expensive, many IT departments will not allow documents to be stored within the database. They reccommend using a PACS solution, but that is not feasible for every client.

No it doesn't. You said MS SQL server, no? Check FILESTREAM attribute as I said before.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform