Microsoft
Software
Hardware
Network
Question : Inserting data into a varbinary(max) field
Hi,
I am using SQL Express 2008.
I've created a simple table that contains a varbinary(max) field.
Can someone please provide an example of an insert statement that inserts a word document (C:/test.doc) into the table.
This sounds like it should be simple but it’s got me stumped.
I need to do this because I want to explorer the full text search capabilities.
Thanks.
Answer : Inserting data into a varbinary(max) field
INSERT INTO myTable(vbmaxcol)
SELECT * FROM OPENROWSET(BULK N'C:\Test.doc', SINGLE_BLOB) AS Document;
GO
Random Solutions
Exit Shell Script on Error
Editable Gridview
Inputting php array into mysql database
Acronis Backup & Recovery 10 w/UR
Need Access VBA help to Use from Access
Windows 7 screen saver slide snow. How do I set that up
Location of Windows 7 Registry
Trying do I determine who has a file open?
How do I get Windows to search for files only?
Conversions fall when moved away from homepage