If database access privileges for the logon user of a Teradata PT script are defined by more than one Teradata Database role, the default user role (as set in the user profile) automatically applies when the user logs on. Each operator that communicates with the Teradata Database logs on separately, and Teradata PT scripts do not support use of the SET ROLE statement (except for the DDL operator). Since the default role cannot be reset for a Teradata PT session, make sure that Teradata PT user default role includes all the necessary privileges.