If database access privileges for the logon user of a Teradata PT script are defined by more than one database role, the default user role (as set in the user profile) automatically applies when the user logs on. Each operator that communicates with 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.