Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert an image to sql
Message
 
 
À
24/11/2007 15:07:29
Issam Mansour
Jordan Business Machines
Amman, Jordanie
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01271072
Message ID:
01271085
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform