How to Bypass Database Logon Prompts | Basic Teradata Query - 17.00 - Bypassing Logon Prompts - Basic Teradata Query

Basic Teradata® Query Reference

prodname
Basic Teradata Query
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-2414-220K

If BTEQ is on a workstation-attached system, the user can log on without the system prompting for a username and password by using the LOGONPROMPT command (see LOGONPROMPT for more information).

Step Action Result or Explanation
1 Enter the LOGONPROMPT command:

.SET LOGONPROMPT OFF

The system does not prompt the user to enter or qualify userid and password information.
2 Enter the LOGON command:

.LOGON tdpid/

If the logon is successful, BTEQ displays the successful logon message.