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?
You can set database just after logon
database YOUR_DATABASE;
You can always pass database name as a parameter if You need.
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?