Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Sun, 15 Mar 2009 @ 15:16:27 GMT

  <Prev Next>  
Next> Last>>  

Subj:   BTEQ question: How to handle login/password
From:   Madhumitha Das

Here is my bteq script in Unix. For security reasons, I do not want to hard code the user id and password details inside my script.

     .logon dbc/rpt_user, abc123;
     database personnel;
     .set defaults on
     .set format on
     .set footing �  Monthly Report�
     select * from rpt_west;

In bteq, is there an option to prompt for user id and password if i run the above bteq from command line without the .logon statement?


Madhu Das -:)

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