I am using Microsoft SQL server database file (file with .mdf
extension) as the database.
I managed to save files into the SQL table as varbinary(max)
. Now my question is : How do I get back the files?
I am thinking I may still need to use SELECT
statement to get the file from the SQL table. However how do I save the file to my hard disk from its current binary format? What are the procedures to do that?