Microsoft
Software
Hardware
Network
Question : Inserting picture's from a url into MS SQL Server 2008
Is there a way, to insert a picture into a sql server, if that image is only accessable via a URL?
e.g.:
UPDATE dbo.tbl_Photos SET Document =
(SELECT * FROM
OPENROWSET(BULK '
http://www.website.be/pho
tos/1.jpg'
, SINGLE_BLOB) AS ORS)
WHERE INP_ID = '00000000-0000-0000-0000-0
0000000000
0'
Thanks in advance,
MA
Answer : Inserting picture's from a url into MS SQL Server 2008
you must do it from .net code
but you can use CLR to run .net code from sql server.
Random Solutions
Debugging/Modifying VB Code for Macro in Excel
SMTP e-mailing queries
ntuser.dat
easy for experts.
Access ADP: Suppress "The SELECT permission was denied on the object database schema 'dbo'" message
Exchange 2007 SP2 permission issues
Alternative to "Can Grow" Property
displaying fields total amount in textbox on form
need to convert the following from asp to asp.net
sql question