Microsoft
Software
Hardware
Network
Question : insert image using openrowset
Hello,
I need to insert an image into my database for a certain row. If I use:
INSERT INTO mytable(mycol) Where myid = '12345'
SELECT * FROM
OPENROWSET(BULK N'C:\image.jpg', SINGLE_BLOB) AS i
It won't work. Probably should be Update table set.... , etc.
Anyone know the correct syntax??
Answer : insert image using openrowset
http://eknowledger.spaces.
live.com/b
log/
cns!F4
75D4DE444D
B1AB!832.e
ntry
has helped me in the past
INSERT StockGifs (StockGifID, Gif)
SELECT 1, BulkColumn
FROM OPENROWSET (BULK 'C:\Ahmed1.gif',SINGLE_BLO
B) AS x
Random Solutions
svchost.exe startup error
Error: "The object you referenced....isn't an OLE object"
Encryption\Decryption in SQL SERVER 2005
Event ID: 10000 Unable to Start DCOM Server
NDR 550 5.1.4 in Exchange 2007
Exclude multiple IP addresses from Google Analytics
HELP! Cannot mount mail store after rebuild Exchange 2000 Server
Flash scroll effect/site layout question
Cannot set default printer
Windows TServer 2003 Logoff process