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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unload to fname (concatenating the sql's) 1

Status
Not open for further replies.

ejaggers

Programmer
Feb 26, 2005
148
US
Is there a way to concatenate multiple SQL's into one file?
i.e.:

unload to fname select * from table1;
unload to fname select * from table2;
unload to fname select * from table3;
 
unload to fname select * from table1 union all select * from table2 union all select * from table3;

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top