Ad-hoc retreival of data from SQL Server varbinary column
Posted
by Daniel Fortunov
on Stack Overflow
See other posts from Stack Overflow
or by Daniel Fortunov
Published on 2010-04-28T09:02:27Z
Indexed on
2010/04/28
9:23 UTC
Read the original article
Hit count: 260
sql-server
|varbinary
I would like to retreive some binary data from a varbinary(max)
column in a SQL Server database for debugging purposes.
What is the easiest way to get this data into a local binary file, preferably without having to write a throw-away console application?
I have tried using SQL Server Management Studio but this returns a hex encoded binary string, rather than raw binary data (even with the "results to file" option).
© Stack Overflow or respective owner