Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Results to a text file

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am using Sybase (+ Smartstream interface tool). I am writing a complex select statement that includes a cursor. Near the end I have used the print command to see my results. However, when I look at the output file, it messes up the file by having a return carriage every time a line runs too long instead of wrapping it. It also includes a End of Job message at the bottom. Is there a better way for me to write my results to a text file upon selecting?
 
ISQL in MS SQL Server has a -w option which sets the width of the output line. Is the same option available in the Sybase ISQL? Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top