Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Output file

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-07-31 : 08:33:40
Frank writes "Is there a way to control the format of the output file when using OSQL?

I know there is the column separator feature, but my data is coming back with extra line breaks in between the data. Plus, it does not return the results in rows.

Thanks
Frank"

JohnDeere
Posting Yak Master

191 Posts

Posted - 2003-07-31 : 08:48:55
It has been a while but I believe the -w column_width paramtere may help with the extra line breaks.

Allows the user to set the screen width for output. The default is 80 characters. When an output line has reached its maximum screen width, it is broken into multiple lines.



Lance Harra
Go to Top of Page
   

- Advertisement -