freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: Display Image Fields From MSSQL.
- Date: Sun, 4 Mar 2001 13:05:48 -0500 (EST)
Nope image is strictly a 'blob' field. It's just that when Sybase put the
feature in, hardly any other vendors had done so, so the names blob and
clob were not universal and they chose image/text.
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.
Brian
On Sun, 4 Mar 2001, Steve Langasek wrote:
> On Sat, 3 Mar 2001, Brian Bruns wrote:
>
> > PHP is attempting to convert an image type to a string. Does anyone
> > know if this feature works in PHP? I'm not really sure what the behavior
> > of converting image -> char should be. My guess is that it would be a hex
> > representation like binary/varbinary does.
>
> PHP has 8-bit-clean handling of strings; it just needs to have a way of
> knowing how long the string is when you create it. I imagine the most
> useful
> format in which to make the image available to PHP would be as raw 8-bit
> data
> (stored in a string). If someone wanted it as a hex representation after
> that, they could convert it on their own, and if someone wanted to work with
> the raw image data (e.g., writing it to a file), they could do so without a
> double-conversion.
>
> Does the TDS 'image' type imply any particular image format, btw?
>
> Steve Langasek
> postmodern programmer
>
-
Display Image Fields From MSSQL.,
Leo Kwan, 03/03/2001
- <Possible follow-up(s)>
- Re: Display Image Fields From MSSQL., Brian Bruns, 03/03/2001
- Re: Display Image Fields From MSSQL., Steve Langasek, 03/04/2001
- Re: Display Image Fields From MSSQL., Brian Bruns, 03/04/2001
- Re: Display Image Fields From MSSQL., Bob Kline, 03/04/2001
- Re: Display Image Fields From MSSQL., Leo Kwan, 03/04/2001
- Re: Display Image Fields From MSSQL., Leo Kwan, 03/04/2001
- Re: Display Image Fields From MSSQL., Franck Martin, 03/04/2001
- Re: Display Image Fields From MSSQL., Leo Kwan, 03/04/2001
- Re: Display Image Fields From MSSQL., Michael Peppler, 03/05/2001
- Re: Display Image Fields From MSSQL., Bob Kline, 03/05/2001
- Re: Display Image Fields From MSSQL., Michael Peppler, 03/05/2001
- Re: Display Image Fields From MSSQL., Brian Bruns, 03/05/2001
- Re: Display Image Fields From MSSQL., Franck Martin, 03/05/2001
Archive powered by MHonArc 2.6.24.