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
How do I match pixel size to physical size for printing?
Bridge Network Connections
Move Mailbox from Exchange 2007 SP2 to Exchange 2010
Cannot activate trial Windows Home Server with OEM License?
JET SQL - Merging fields from two tables into one, skipping duplicates
gpedit.msc not found in Windows 7 Home Premium
launch MS mail merge wizard via code
IIF query using Like *
SUser_Name function in sql server
VS 2005 vs 2003 - Backwards Compatible ?