This is a discussion on How to load a binary file into DB from a stored procedure? within the Sybase forums, part of the Database Server Software category; --> Let's see. Imagine I have a server with a table with two fields: id and data. I want to ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Let's see. Imagine I have a server with a table with two fields: id and data. I want to insert a new record on the table. Id will be given (a numeric unique id) and data must be the content on a file accessible by Sybase (on a folder in the server hard drive or maybe on a shared location in network). The path to the file will be given, relative to Sybase server. Now, from a client connected to the DB I want to execute a command to load the file into DB. This is, I want to use only SQL since the client can not access the file directly. Is there a way to do this? Thanks a lot. |