SQL Server 2005 - How do I convert image data type to character format

后端 未结 2 1426
耶瑟儿~
耶瑟儿~ 2021-01-23 13:57

Background: I am a software tester working with a test case management database that stores data using the deprecated image data type. I am relatively inexper

2条回答
  •  一整个雨季
    2021-01-23 14:45

    You presumably want to convert to byte data rather than character. This post at my blog Save and Restore Files/Images to SQL Server Database might be useful. It contains code for exporting to a byte array and to a file. The entire C# project is downloadable as a zip file.

提交回复
热议问题