Home Forums SQL Server 7,2000 T-SQL How to write query result in an output file in T-SQL (MSDE) RE: How to write query result in an output file in T-SQL (MSDE)

  • Of course ahmed,

    With the editor used, it can appears on multiple lines. It's not really a problem...

    But I can't use like "OSQL ... -o C:\Output.txt" does.

    The result of a select * in the output file is totally random,

    like it can appear in a cmd windows when the select * returns more than 150 fields...