Logon string information comprises three syntax elements. In interactive command line environments, such as Teradata Basic Query Utility (BTEQ), logon elements appear as discrete elements.
|.logmech||Specifies the authentication mechanism.
If a .logmech statement is not present, the logon uses the default security mechanism.
|.logdata||Optionally specifies user credentials for external authentication
Use of the .logdata statement is required:
For details, see the topics for specific logon methods that follow this one.
|.logon||Specifies the tdpid and user credentials for all authentication methods.
For TD2 authentication, logon can also include the user account.
Not usable for external authentication, where a user=username, profile=profile_name, or realm=realm_name specification is required. Instead, use .logdata.