Image files to export in MS SQL db

My Image file in the table cannot be exported to MSSQL db because of “0” values. For example , if MSSQL server it should save a sequnece like 0 23 45 00 00 67 the zeros will be replaced. The escaped sequence it should be like \0 \23 \45 \0 \0 \67 In this format the MSSQL will understand to do not replace zeros with NULL value. How can I do that?