Extracting documents out from a varbinary(max) field?

I know how to use the OpenRowSet to read a document into a varbinary(max) field from a file. But, how do I get the data back out from the varbinary(max) into a file so I can use a viewer.

Answer this question

Extracting documents out from a varbinary(max) field?

  • Extracting documents out from a varbinary(max) field?