Copying a large field (varbinary(max)) to file / clipboard

后端 未结 4 632
梦谈多话
梦谈多话 2021-02-13 01:20

I have a VARBINARY(MAX) field in a database table which contains ~35k characters. This field is a converted word document which unfortunately no longer have access to.

T

4条回答
  •  春和景丽
    2021-02-13 02:04

    You can simply export (Save As) your results to a csv.

    1) Run the query in SSMS
    2) Results are display in the grid format
    3) Right click on the grid, and choose Save Results As
    4) Choose a format of csv or text file
    5) Save the results to file

    This way will export all the data and from there you can select all the text you want.

    Note: These steps were done using SSMS 2012 but should be the same or similar for 2008 and other Database management tools

提交回复
热议问题