all groups > sql server misc > september 2003 >
You're in the

sql server misc

group:

How can I change the output format of osql for example?


How can I change the output format of osql for example? e9827101 NO[at]SPAM student.tuwien.ac.at
9/22/2003 5:16:04 AM
sql server misc:
hello!


can i change the output format of osql queries in the command line?
i don't want to see columns with an unnecessary width. is there a way
to see always the smallest column width?


i hope that someone knows what i mean.


thx for help in advance

sincerely,
Re: How can I change the output format of osql for example? Michiel Wories [MS]
9/24/2003 9:22:37 AM
You can only set overall screen width with -w (which is not what you're
asking...).

If you want individual columns to be displayed smaller, then you can use
CAST to convert the column to a smaller size.

--
Michiel Wories, SQL Server PM

This posting is provided "AS IS" with no warranties, and confers no rights.
---
[quoted text, click to view]

AddThis Social Bookmark Button