tags:

views:

199

answers:

2

hi I want to write a file into a column of a blob data type,can some one pls send me the syntax for it. Appreciate if you could also send me the syntax for retrieving the file while doing the select as well.Thanks.

A: 

Actually this is for Sybase and I dont see any relevant syntax for binary or text data type. can someone pls help.

+1  A: 

Look for the readtext and writetext functions :

writetext permits non-logged, interactive updating of an existing text or image column

readtext reads text and image values, starting from a specified offset and reading a specified number of bytes or characters

gd047