Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a file through a stored procedure
Message
From
12/05/2017 15:57:19
Walter Meester
HoogkarspelNetherlands
 
 
To
12/05/2017 15:37:14
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:
01651077
Views:
74
>>>>@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,
>>>
>>>Perhaps this can be of help: https://www.mssqltips.com/sqlservertip/1643/using-openrowset-to-read-large-files-into-sql-server/
>>
>>Its interesting for reading files, but how to write them?
>
>Hum. http://kbase.icbconsulting.com/sql-server/create-text-files-from-sql-server-data (disclaimer: just googling around...).

We need to write binary files. I know there are several ways. I forgot to ask, what the best way is to write binary files with the least impact on restrictions such as having to use CLR and having to have admin rights
Previous
Reply
Map
View

Click here to load this message in the networking platform