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
Query needed to exclude data
getting a count of records to not include null or empty records
DIV issues in IE
Suspended VLAN
How to use sed command to remove text before and after desired syntax?
How to get query cretaed by the prepare statement in PDO
Anyway to search a large text file without loading it into memory?
Opening files from Windows Explorer is slow
Create blank tag in xml with no single "open and close" tag
Owa 2010 Error creating rules and when i click Options (error 400 /owa/auth.owa)