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
Calling Events and Event Handlers in Java
How to remove User Name and Password from Login screen
Multiple <html> Tags in Page?
Cisco Unity Call Handlers
Dell PE T300 Win 2008 server stuck in loop
Exchange 2003 to Exchange 2010 Migration - Stuck at SSL & URL
php and mysql
Are there any issues to be aware of with method overloading when using Web Services?
mysql query - version
How do I fix a slightly blurry TV 2709W?