17.10 - Finding Tables and Indexes with a Security Constraint - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2022-02-15
dita:mapPath
ppz1593203596223.ditamap
dita:ditavalPath
wrg1590696035526.ditaval
dita:id
zuy1472246340572
  1. Query the DBC.Dependency table to find tables that have a security constraint column:
    SELECT database1name, object1name from dbc.dependency where object2name='constraint_name';
  2. Run the SHOW TABLE command for each table returned by the query.

    The system displays the standard CREATE TABLE for the table, including any indexes that are defined on the table.