venkat_dba
Old Hand
Points: 346
More actions
October 12, 2001 at 2:07 pm
#78115
How to direct the SQL query output to a file
for a query like
select * from test1
Steve Jones - SSC Editor
SSC Guru
Points: 736494
October 12, 2001 at 2:33 pm
#418926
run from command prompt:
osql -Sserver -E -Q"select * from test1" >> file.txt
Or run from DTS package.
Steve Jones
steve@dkranch.net
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply