All Forums Database
teradatatester 69 posts Joined 01/10
31 Mar 2011
Linux - Bteq - Logging On in Batch Mode

Chapter 2: Starting and Exiting BTEQ
Logging on to the Teradata Database
Page 37

Submit the LOGON command in an input file, including
the password, as follows:
.LOGON tdpid/userid, password

Is there any way I can choose the database to connect to at the same time as the logon command, all in one line?

kostek 29 posts Joined 11/09
01 Apr 2011

You can set database just after logon

database YOUR_DATABASE;

You can always pass database name as a parameter if You need.

You must sign in to leave a comment.