On Fri, 27 Aug 2004 16:12:48 +0200, Sam wrote:
Quote:
But if I try now to re-read my image column with dbreadtext()
I just read ONLY the first 32768 bytes.
Sybase documentation says "An application that retrieves image values larger
than 32768 bytes will need to call dbsetopt..."
Right but How can I set DBTEXTSIZE if I don't know the real size of my blob
column I wanna read ?? |
You can get that information via a "select datalength(image_col)", or just
set it to the largest possible value that you might retrieve.
Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html