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
AutoAccept Agent in Exchange 2010 - Migrated Rooms/Users
Moving a Child domain from one forest to another
SQL COUNT DISTINCT problem
Another Regex Question
MS Exchange 2007 / SBS 2008 - guidelines for email performance
SQL Injection & Classic ASP
how do I export group policy from server 2003 x64
Outlook stationery, multiple BCC recipients, spam filters
VBA syntax to include a specific directory and a selected file
cp command wont copy iso image contents to hard drive