Page 1 of 1

BLOB data field

Posted: Fri Mar 09, 2001 3:18 pm
by sbeavers
My cmpany just started using BLOB data types. How do I deal with this using the C API? How can I find out the lenght of the returned data and display it?

BLOB data field

Posted: Fri Mar 09, 2001 4:07 pm
by mark
The blob data, much like indirect file content, is not available as such to the API. You should convert() it to varchar in your select statement.

select Title,convert(Body,'varchar') Body,Date from TheTable