You are currently viewing the BOOK: Professional Microsoft SQL Server 2008 Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
What is wrong? in this code:
CREATE TABLE BLOBTest
BLOBID int IDENTITY NOT NULL,
BLOBData varbinary(max) NOT NULL
INSERT INTO BLOBTest(BLOBData)
SELECT * FROM OPENROWSET(BULK N’D:\find_x.jpg', SINGLE_BLOB) as DSCN0022.jpg