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
Connecting mobile devices to Exchange 2003 SP2
Jquery SlideDown
How do you stop a Network printer from changing it's IP address
How do i convert a System.data.Linq.Binary type to a System.Data.SqlTypes.SqlBi
nary type?
What are these following files specifically?
Another Stored Procedure Question
Wifi network not able to print from the network printer
Create SQL Trigger that denies INSERT
Scheduling SQL Server 2008 Express export
Free Software For Software Errors Reporting