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
W32.Advegol!html worm removal
Configuring IIS SMTP Mail Server around blocked ISP port 25.
svchost.exe startup error
Error: "The object you referenced....isn't an OLE object"
Skip rows in spreadsheet on import into sql
The 2003 Server Keeps Rebooting. 0x000000ba (0x00000002, 0x00000001, 0xeb953598, 0x0000001f)
Set up a test environment for sharepoint server 2007
Offline Address Book Synchronization Error
Exclude multiple IP addresses from Google Analytics
HELP! Cannot mount mail store after rebuild Exchange 2000 Server