|
|
|
|
|
|
| Author |
Message |
wkraatz@csc.com *nix forums addict
Joined: 08 Jun 2005
Posts: 52
|
Posted: Tue Apr 05, 2005 2:57 pm Post subject:
Re: How to select and put into a file
|
|
|
the '-e' command line parameter will echo the SQL statements into the
output a '-o <filename>' parameter will then write both the SQL and
results into the same file.
It might help if you review the Utility Manual section on isql.
http://sybooks.sybase.com/onlinebooks/group-as/asg1251e/utility/@Generic__BookView
Maria wrote:
| Quote: | How can I put my select statement together with the output into a
file ?
For example
isql -Uuser -Ppass -Sservername
select * from mytable
go
then the output from this and the select into a file ?
Thanks
Maria |
|
|
| Back to top |
|
 |
Maria *nix forums beginner
Joined: 17 Jun 2005
Posts: 11
|
Posted: Tue Apr 05, 2005 2:36 pm Post subject:
How to select and put into a file
|
|
|
How can I put my select statement together with the output into a file ?
For example
isql -Uuser -Ppass -Sservername
select * from mytable
go
then the output from this and the select into a file ?
Thanks
Maria |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 5:03 am | All times are GMT
|
|
Directory | Debt Consolidation | Loans | Books | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|