Page 1 of 1

Insert Query 4 blob column

Posted: Mon Oct 21, 2002 10:57 pm
by desmondlk
Dear all,

how can i insert a graphic into a blob column by using SQL statement?

the graphic is located in c:\
name as mb.gif


thanx in advance.

Posted: Tue Oct 22, 2002 1:45 am
by twigletmac
What database are you running? Generally it's better just to save the path to the image in the database and then to use that in the HTML IMG tag in order to display the image again.

This topic has also been covered a few times before here so try a search on something like 'blob AND image'.

Mac