Skip to Content.
Sympa Menu

freetds - Re: [freetds] TDS wants to show me raw hex via PHP from MSSQL2k

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT bluewin.ch>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] TDS wants to show me raw hex via PHP from MSSQL2k
  • Date: Wed, 06 Aug 2003 11:53:19 +0200

On Wed, 2003-08-06 at 10:28, Mario.Tschursch AT ic3s.de wrote:
> there is another thing:
> MS SQL stores images as hex starting with 0x

No it doesn't. The data is stored in raw binary. It's the client side
that converts it to hex in certain situations.

(e.g. Sybase's CT-Lib will convert to hex if you fetch an IMAGE but tell
ct_bind that the target is a CS_TEXT_TYPE item, rather than
CS_IMAGE_TYPE).

Michael






Archive powered by MHonArc 2.6.24.

Top of Page