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
Can I set a user logon picture for a user that follows him from the server?
Need help knowing what parts of script to edit
Need a quick app/script to compare two large folders for differences (and list/log them)
Excel search macro to use a bar code look for result in worksheet, start over
Am I required to have an Edge Transport Server in my Exchange 2010 environment?
add linq record
Exchange 2003 with two domains, no permission error when changing the send from to the second domain?!
Dropdown list populating code not working
Getting a div to expand to accommodate text created with PHP
SSIS: parsing through recordsets in ForEach loop