- Query the DBC.Dependency table to find tables that have a security constraint column:
SELECT database1name, object1name from dbc.dependency where object2name='constraint_name';
- 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.