SQL/MX 3.2 Management Manual (H06.25+, J06.14+)

Table Of Contents
SHOWLABEL Command...................................................................................................105
mxtool VERIFY command..................................................................................................105
SHOWDDL Command.....................................................................................................106
SQL/MX Metadata Tables.....................................................................................................106
Understanding ANSI External and Internal Names....................................................................111
Regular Identifiers and Object Naming...............................................................................111
Delimited Identifiers and Object Naming............................................................................111
Displaying System Schema Information....................................................................................112
Locating System Schema Tables.........................................................................................112
Locating System Defaults Schema Tables.............................................................................114
Locating MXCS Schema Tables..........................................................................................117
Displaying Catalog Information..............................................................................................118
Displaying a Catalog UID.................................................................................................118
Displaying all Catalogs Visible on a Node..........................................................................118
Determining Whether a Catalog is Local or Remote..............................................................119
Displaying all Schemas in a Catalog..................................................................................119
Displaying the Guardian Location of the Metadata Tables for a Catalog.................................119
Displaying the Attributes of a Catalog................................................................................120
Displaying Schema Information..............................................................................................121
Displaying a Schema UID.................................................................................................121
Displaying all Schemas Visible on a Node..........................................................................121
Displaying all Objects in a Schema....................................................................................122
Displaying the Attributes of a Schema.................................................................................123
Displaying the Owner of a Schema....................................................................................123
Displaying Users With Catalog and Schema Creation Rights......................................................124
Displaying Users With Catalog Creation Rights....................................................................124
Displaying Users With Schema Creation Rights....................................................................124
Displaying Table Information..................................................................................................124
Displaying all Tables in a Catalog......................................................................................125
Displaying all Tables in a Schema......................................................................................126
Displaying all DDL Locks on a Table...................................................................................127
Displaying the Attributes of a Table....................................................................................127
Displaying all Tables on a System......................................................................................128
Displaying Information About Views........................................................................................128
Displaying all Views in a Schema......................................................................................129
Displaying the Attributes of a View.....................................................................................129
Displaying Information About SQL/MP Aliases.........................................................................130
Displaying all SQL/MP Alias Names in a Schema...............................................................130
Displaying all Attributes of an SQL/MP Alias Name.............................................................130
Displaying Information About SPJs..........................................................................................131
Displaying Index Information..................................................................................................131
Determining Whether a Table has Indexes..........................................................................131
Displaying all Indexes for a Table......................................................................................132
Displaying all DDL Locks on an Index.................................................................................132
Displaying the Attributes of an Index..................................................................................133
Displaying the State of Indexes for a Table..........................................................................134
Displaying Partition Information..............................................................................................134
Displaying all Partitions for a Table or Index........................................................................134
Displaying Attributes of a Partition......................................................................................135
Displaying Constraint Information...........................................................................................136
Determining Whether a Table Has Constraints.....................................................................136
Displaying all Constraints on a Table..................................................................................137
Displaying the Attributes of a Constraint..............................................................................137
Displaying Column Information...............................................................................................138
Displaying all Columns in a Table......................................................................................138
6 Contents