Difference between revisions of "SQL System Tables"
From Lianjapedia
m (Text replace - "Recital" to "Lianja") |
Helen.george (Talk | contribs) |
||
Line 11: | Line 11: | ||
− | {| class="wikitable" | + | {| class="wikitable" width=100% |
!Table||Remarks | !Table||Remarks | ||
|- | |- | ||
Line 18: | Line 18: | ||
|[[SYSALERTS]]||Alert records for watched records | |[[SYSALERTS]]||Alert records for watched records | ||
|- | |- | ||
− | |[[SYSBESTROWIDENTIFIER]]||Description of a table’s optimal set of columns that uniquely identifies a row | + | |valign="top"|[[SYSBESTROWIDENTIFIER]]||Description of a table’s optimal set of columns that uniquely identifies a row |
|- | |- | ||
|[[SYSCATALOGS]]||Catalog names available in the database | |[[SYSCATALOGS]]||Catalog names available in the database | ||
|- | |- | ||
− | |[[SYSCOLUMNCONSTRAINTS]]||Description of the constraints for a table’s columns | + | |valign="top"|[[SYSCOLUMNCONSTRAINTS]]||Description of the constraints for a table’s columns |
|- | |- | ||
− | |[[SYSCOLUMNPRIVILEGES]]||Description of the access rights for a table’s columns | + | |valign="top"|[[SYSCOLUMNPRIVILEGES]]||Description of the access rights for a table’s columns |
|- | |- | ||
− | |[[SYSCOLUMNS]]||Description of the table columns available in the catalog | + | |valign="top"|[[SYSCOLUMNS]]||Description of the table columns available in the catalog |
|- | |- | ||
− | |[[SYSCROSSREFERENCE]]||Description of how one table imports the keys of another table | + | |valign="top"|[[SYSCROSSREFERENCE]]||Description of how one table imports the keys of another table |
|- | |- | ||
− | |[[SYSEXPORTEDKEYS]]||Description of the foreign key columns that reference the primary key columns | + | |valign="top"|[[SYSEXPORTEDKEYS]]||Description of the foreign key columns that reference the primary key columns |
|- | |- | ||
− | |[[SYSIMPORTEDKEYS]]||Description of the primary key columns that are referenced by the foreign key | + | |valign="top"|[[SYSIMPORTEDKEYS]]||Description of the primary key columns that are referenced by the foreign key |
|- | |- | ||
|[[SYSINDEXINFO]]||Description of a table’s indices and statistics | |[[SYSINDEXINFO]]||Description of a table’s indices and statistics | ||
|- | |- | ||
− | |[[SYSIOSTATS]]||Facility for monitoring table and index file I/O operations | + | |valign="top"|[[SYSIOSTATS]]||Facility for monitoring table and index file I/O operations |
|- | |- | ||
|[[SYSLOGGING]]||System Logging information | |[[SYSLOGGING]]||System Logging information | ||
|- | |- | ||
− | |[[SYSPRIMARYKEYS]]||Description of the primary key columns in the table | + | |valign="top"|[[SYSPRIMARYKEYS]]||Description of the primary key columns in the table |
|- | |- | ||
− | |[[SYSPROCEDURECOLUMNS]]||Description of the input, output and results associated with certain stored procedures available | + | |valign="top"|[[SYSPROCEDURECOLUMNS]]||Description of the input, output and results associated with certain stored procedures available |
|- | |- | ||
− | |[[SYSPROCEDURES]]||Description of the stored procedures available in the catalog | + | |valign="top"|[[SYSPROCEDURES]]||Description of the stored procedures available in the catalog |
|- | |- | ||
− | |[[SYSRESULTSET]]||Used to return the singleton result from any Lianja expression | + | |valign="top"|[[SYSRESULTSET]]||Used to return the singleton result from any Lianja expression |
|- | |- | ||
|[[SYSSCHEMAS]]||Schema names available in the database | |[[SYSSCHEMAS]]||Schema names available in the database | ||
|- | |- | ||
− | |[[SYSTABLECONSTRAINTS]]||Description of the constraints for each table available in the catalog | + | |valign="top"|[[SYSTABLECONSTRAINTS]]||Description of the constraints for each table available in the catalog |
|- | |- | ||
− | |[[SYSTABLEPRIVILEGES]]||Description of the access rights for each table available in the catalog | + | |valign="top"|[[SYSTABLEPRIVILEGES]]||Description of the access rights for each table available in the catalog |
|- | |- | ||
|[[SYSTABLES]]||Description of the tables available in the catalog | |[[SYSTABLES]]||Description of the tables available in the catalog | ||
Line 60: | Line 60: | ||
|[[SYSTIMELINE]]||Timeline records for timelined tables | |[[SYSTIMELINE]]||Timeline records for timelined tables | ||
|- | |- | ||
− | |[[SYSTYPEINFO]]||Description of all data types supported by the database | + | |valign="top"|[[SYSTYPEINFO]]||Description of all data types supported by the database |
|- | |- | ||
− | |[[SYSUDTS]]||Description of the user-defined types (UDTs) defined in the schema | + | |valign="top"|[[SYSUDTS]]||Description of the user-defined types (UDTs) defined in the schema |
|- | |- | ||
− | |[[SYSUSERS]]||Username and email information for alerts for watched records | + | |valign="top"|[[SYSUSERS]]||Username and email information for alerts for watched records |
|- | |- | ||
− | |[[SYSVERSIONCOLUMNS]]||Description of the columns in a table that are automatically updated when any row is updated | + | |valign="top"|[[SYSVERSIONCOLUMNS]]||Description of the columns in a table that are automatically updated when any row is updated |
|- | |- | ||
|} | |} |
Revision as of 13:21, 18 January 2013
Purpose
System-defined read-only views
See Also
Description
System Tables are system defined read-only tables. You can query these tables using the SELECT statement. The following is an alphabetical reference of the System Tables accessible to all users.
Table | Remarks |
---|---|
SYSACTIVEUSERS | Description of currently active users on the system |
SYSALERTS | Alert records for watched records |
SYSBESTROWIDENTIFIER | Description of a table’s optimal set of columns that uniquely identifies a row |
SYSCATALOGS | Catalog names available in the database |
SYSCOLUMNCONSTRAINTS | Description of the constraints for a table’s columns |
SYSCOLUMNPRIVILEGES | Description of the access rights for a table’s columns |
SYSCOLUMNS | Description of the table columns available in the catalog |
SYSCROSSREFERENCE | Description of how one table imports the keys of another table |
SYSEXPORTEDKEYS | Description of the foreign key columns that reference the primary key columns |
SYSIMPORTEDKEYS | Description of the primary key columns that are referenced by the foreign key |
SYSINDEXINFO | Description of a table’s indices and statistics |
SYSIOSTATS | Facility for monitoring table and index file I/O operations |
SYSLOGGING | System Logging information |
SYSPRIMARYKEYS | Description of the primary key columns in the table |
SYSPROCEDURECOLUMNS | Description of the input, output and results associated with certain stored procedures available |
SYSPROCEDURES | Description of the stored procedures available in the catalog |
SYSRESULTSET | Used to return the singleton result from any Lianja expression |
SYSSCHEMAS | Schema names available in the database |
SYSTABLECONSTRAINTS | Description of the constraints for each table available in the catalog |
SYSTABLEPRIVILEGES | Description of the access rights for each table available in the catalog |
SYSTABLES | Description of the tables available in the catalog |
SYSTABLETYPES | Table types available in the database system |
SYSTIMELINE | Timeline records for timelined tables |
SYSTYPEINFO | Description of all data types supported by the database |
SYSUDTS | Description of the user-defined types (UDTs) defined in the schema |
SYSUSERS | Username and email information for alerts for watched records |
SYSVERSIONCOLUMNS | Description of the columns in a table that are automatically updated when any row is updated |