Subject | Re: [firebird-support] Re: bin to blob? |
---|---|
Author | Martijn Tonies |
Post date | 2003-07-11T14:10:06Z |
> I only want to store bmp images in a table.But why via a script?
>
> using SQL
>
> INSERT INTO IMAGES (IMGCODE, IMGDESC, IMGBMP)
> VALUES('2D','2nd double','c:\images\2D.bmp');
>
> imgbmp being a blob field in the table images
You can do this easily with single statements, preparing them
and assigning the blob data to a parameter.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com