export tsql output to text file?

Post Reply
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

export tsql output to text file?

Post by pete.smith »

We need to do some comparisons between two profiles, and I was hoping there was a way to pump the results of a sql query, either thru texis -s or tsql , that I can pipe to a text file. Is that possible?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

export tsql output to text file?

Post by mark »

Standard command line I/O redirection.

tsql "select ..." >somefile.txt
Post Reply