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
MOSS People Picker
no wrap for breadcrump/
Excel 2007 records imported into Access 2007 are out of order
sql cast(decimalvalue as varchar(50))/100.00 fail
Backing up SQL Server 2000 database on 2008
How to Truncate Body Text in SharePoint 2007 RSS Viewer Webpart
How do reset bios password on eMachine m5310 Laptop
update textbox without databinding
pictures that make customers more likely to buy shopping cart products
Is there a way to push a themepack to windows 7 computers via GPO? Or a powershell script?