Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 16 Mar 2009 @ 10:54:40 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: BTEQ question: How to handle login/password
From:   Sapra, Kapil Dev


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;

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

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016