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
'0' is not a valid value for 'value'. 'value' should be between 'minimum' and 'maximum'.
Find Not In Order Stock Transaction
Rquire simpler than multiple iif, or, and combination
VB.NET Implementing Me.Parent property on class.
Overcome Excel MAX num of nested if statement
How to read contents of Macros using VBA
IP change on Win2K Server DC
How do I use RecordSelectionFormula to pass dates via VS 2005 to Crystal report 2008?
Windows 7 unmountable
MS Access change regular number to month in query