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
How Do you Clear the SSL Cache in FireFox?
Dell Inspiron E1505 Battery Fully Charged, But no power to the notebook
PowerShell Active Directory
Bookmark page javascript. Add to favorites script
Cannot connect to the Citrix XenApp Server. There is no Citrix SSL Server configured on the specified address.
Visual FoxPro OLE DB Data Provider Problems
Change IP address of Single Network Adapter ISA 2006
Implement cell forumula border feature
compile Python
VB .Net 2008 Express Deploy Application