Display Image Fields From MSSQL.
Bob Kline
bkline at rksystems.com
Mon Mar 5 10:42:43 EST 2001
On Mon, 5 Mar 2001, Michael Peppler wrote:
> Bob Kline writes:
> > On Sun, 4 Mar 2001, Brian Bruns wrote:
> >
> > > Anyway, we should be doing whatever sybase/ms is doing with
> > > image->char conversion, I just don't know what that is...I'll try it
> > > out at work tommorow.
> >
> > That conversion is not allowed by either Sybase and Microsoft.
>
> IMAGE are returned as binary strings if bound to an CS_IMAGE_TYPE
> variable, or as a hex string if bound to a CS_TEXT_TYPE variable (in
> ct_bind()).
I see. So that API is exposing more functionality then is available in
Transact-SQL, which isn't surprising. I should have thought of that.
Thanks.
--
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com
More information about the FreeTDS
mailing list