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
Access 2010: Can I start an ACCDE in runtime mode and supply it's password?
Zindus Google and Zimbra contact sync for Thunderbird problem
Are these interview questions too hard for a data-centric .net developer?
Dropdownlist - add value
Using Oracle function MAX with date filelds
open a new window size 300 width 200 height
DataGridView column size?
Jquery Prevent Focus when Clicked
Changing workstation domain in SBS 2008 network
MaskeditExtender question