15.10 - Accessing Tables - Teradata Database

Teradata Database Data Dictionary

Teradata Database
Release Number
Content Type
User Guide
Publication ID
English (United States)

Data Dictionary tables can be accessed only by users who have the required privileges to the tables. Access to the tables is strictly controlled to ensure that users (including system administrators) cannot modify them.


To ensure that the system functions properly, do not modify or delete any Data Dictionary tables. Use Data Dictionary views to access data in the tables to ensure that the tables are not accidentally modified or deleted.

For sites that use Teradata Secure Zones, SELECT privilege on DBQL tables is revoked from PUBLIC. Users can access DBQL table information through DBC.QryLog* views only, to prevent zone users from accessing information not related to their zones. For more details, see “Teradata Secure Zone Views” on page 22.

Zone users can see the information for objects in their zone in DBC views, but they cannot see the information for any objects outside their zone. If a non-zone user needs to see information for all of the zones, you can grant ZONE OVERRIDE privilege. Users with ZONE OVERRIDE privilege can see information from all zones. You can also grant SELECT privilege on a specific view, but users with SELECT privileges on a view obtain different result sets, depending on their zone membership or non-zone status. See GRANT ZONE OVERRIDE and REVOKE ZONE OVERRIDE in SQL Data Control Language.

Teradata recommends that you do not grant SELECT privileges on the following tables:

  • DBC.DBQLExplainTbl
  • DBC.DBQLObjTbl
  • DBC.DBQLogTbl
  • DBC.DBQLSqlTbl
  • DBC.DBQLStepTbl
  • DBC.DBQLSummaryTbl
  • DBC.DBQLUtilityTbl
  • DBC.TDWMExceptionLog