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
Transferring FSMO roles to windows 2008 server
How can I reduce the execution time of my SQL Server 2005 Stored procedure?
How do I manage connection to MySql db from VB.NET ?
How do you mirror a hard drive
VB .Net 2008 Express Deploy Application
Issues after removing SMS 2003 Management point
Is it possible to have backgrounds automatically shuffle every so often on an iPad?
Active Directory Query
Allow user to navigate to a folder in windows directory and select the PATH to the file in a .aspx page. Is this possible and how?
Trying to change selection in DDL but when i read it i get the programticlly set value