Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert an image to sql
Message
 
 
To
24/11/2007 15:07:29
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01271072
Message ID:
01271085
Views:
22
Not sure if this is an answer to your question but check Re: Blob Datatype (getting image from SQL)... Thread #1259045


>Hi,
>
>I am converting my data from VFP Database to sql, with vfp we adding a general field to have an image. but with sql we use a varbinary col. to store the image as i know.
>
>the adding image statement i use as follows:-
>
>CREATE TABLE myTable(Document varbinary(max))
>INSERT INTO jbm(Document)
> SELECT *
> FROM OPENROWSET(BULK N'C:\Garden.jpg', SINGLE_BLOB) as document
>
>
>is there any example for using sql to store an image.
>
>Best Regards
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform