Add one or more accounts to any accounts already specified for the profile.
- account_string
- Each position in an account string has a specific meaning and format requirement. See Teradata Vantage™ - Database Administration, B035-1093. Each account_string must follow the Vantage object naming rules. See Teradata Vantage™ - SQL Fundamentals, B035-1141. You must enclose each account string with APOSTROPHE characters. You must separate each entry in a list of account strings with a COMMA character and enclose the list with LEFT PARENTHESIS and RIGHT PARENTHESIS characters.
- Accounts do not exist independently in the database. Accounts only exist as specified in user, database, and profile definitions. You can specify the same account string in multiple object definitions, if needed.
- Account strings defined in the profile supersede the accounts defined in the user definitions of profile member users. Newly added accounts are immediately available.
- The first account string specified for the profile is the default account for profile members.
- If you do not specify an account string for a profile, the system defaults to the accounts specified for individual users. If a user has no account in either the user or profile definitions, the user inherits the first account string that is defined for the immediate owner of the user.
- Users with multiple accounts can access a non-default account by specifying the account in a:
- Logon string.
- SET SESSION ACCOUNT statement.
- For a user to specify an account in the logon string or in a SET SESSION ACCOUNT statement, the account must be assigned in the user or profile definition.