Does anyone know how to preserve carriage returns when
scripting INSERT SQL statements to a text file to be executed back into a
database? I have a field of type
TEXT and my java code is able to correctly insert and retrieve the data with carriage
returns (which amazed me in the first place). But I need to create a plain text file
to be able to push this data to different environments. But I have not found any SQL which can
specify special chars like carriage returns.
This is with MS-SQL Server 2000 but we will probably be using
Oracle 10g too.
Thanks,
-Matt