![]() |
|
Archives of the TeradataForumMessage Posted: Mon, 16 Mar 2009 @ 10:54:40 GMT
Hi, You can use ".run"
.run file "C:\KapilDSapra\Secure\td.dat";
database personnel;
.set defaults on
.set format on
.set footing 'Monthly Report'
select * from rpt_west;
exit;
And in "C:\KapilDSapra\Secure\td.dat" you just need to mention one line.
.logon dbc/rpt_user, abc123;
Hope it will be helpful. Thanks. Best Regards, Kapil D Sapra
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||