How to add an image into a database  
Author Message
LVIN





PostPosted: Thu Jul 10 09:58:28 CDT 2003 Top

SQL Server Developer >> How to add an image into a database

Hi,

I need to add an image into a database from a stored
procedure called from a C++ program. In my c++ program I
use the ODBC API (CDatabase, CRecordset) and I want to put
the image in the database from this program
How can I do ?

Regards

Fabien Gendrot

SQL Server240  
 
 
Jeff





PostPosted: Thu Jul 10 09:58:28 CDT 2003 Top

SQL Server Developer >> How to add an image into a database fabien:

i would take a look at the sql server updatetext, writetext, and
readtext commands to create a query and use the odbc sqlexecute().

hth
jeff clausius
sourcegear corporation





> Hi,
>
> I need to add an image into a database from a stored
> procedure called from a C++ program. In my c++ program I
> use the ODBC API (CDatabase, CRecordset) and I want to put
> the image in the database from this program
> How can I do ?
>
> Regards
>
> Fabien Gendrot
>
>