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
Outlook 2007 Out of Office
fail to chop 2 GB WMV files
SendKeys on Login Form
Saving the project in VS 2008 issue
Is it important to delete WRL files
Urgent System.UnauthorizedAccessE<wbr />xception
Access to USB drive through Terminal Services
Windows cannot access the file gpt.ini for GPO
Need to export 248K records from MSSQL server to EXCEL or TABBED file
Erased C:\\Inetpub\wwwroot