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
Audio Mixer Control - CALLBACK VB net
Copying an email to another account when sent to equipment request
How do I allocate an X amount of bandwidth...
Sharepoint formula : find text in column
convert Java hash function to Javascript
IIS multiple sites configuration error
File Permissions Server 2003 R2
Using PHP to make First Initial Last Name Combination
Progress Bar will not fire while tree is loading in vb.net windows application
Acces Form embedded in a Report does not fire Events