Subject | Re: [firebird-support] Converted SQL fields to Firebird |
---|---|
Author | Helen Borrie |
Post date | 2005-02-17T01:49:14Z |
At 11:34 AM 17/02/2005 +1000, you wrote:
know what it is writing or reading, other than "a stream of bits".
Are you picking up specialised binary datatypes from SQLServer and simply
copying them bit-for-bit to binary blob? SQLServer probably has OS and
DBMS specific headers stored on these objects. It's doubtful this would get
read back as a valid image file by your format-aware application... As a
minimum I think you'd need some intermediate conversion layer that converts
these typed objects back to the original image files, in order to strore
them "value-free" into binary blobs.
What's the environment you are using to do what you're doing currently?
./heLen
>Im having an issue with the conversion of bmp, png, jpeg image fields inFirebird's non-text blob stores exactly what is given to it. It doesn't
>SQL Server being converted to Blob type field in firebird, my application
>{Delphi 7} cannot read the converted fields, i believe i am converting the
>relevant field to a Blob sub type which can store the image data but when
>the application attempts to read the FileData field {this is the blob type
>field} it causes a 'Stream Read Error' going on to finally say the data is
>corrupt ??? does this make sense to anybody ??
know what it is writing or reading, other than "a stream of bits".
Are you picking up specialised binary datatypes from SQLServer and simply
copying them bit-for-bit to binary blob? SQLServer probably has OS and
DBMS specific headers stored on these objects. It's doubtful this would get
read back as a valid image file by your format-aware application... As a
minimum I think you'd need some intermediate conversion layer that converts
these typed objects back to the original image files, in order to strore
them "value-free" into binary blobs.
What's the environment you are using to do what you're doing currently?
./heLen