Sdílet prostřednictvím


System Tables (Transact-SQL)

The topics in this section describe the system tables in SQL Server.

The system tables should not be changed directly by any user. For example, do not try to modify system tables with DELETE, UPDATE, or INSERT statements, or user-defined triggers.

Referencing documented columns in system tables is permissible. However, many of the columns in system tables are not documented. Applications should not be written to directly query undocumented columns. Instead, to retrieve information stored in the system tables, applications should use any one of the following components:

  • System stored procedures

  • Transact-SQL statements and functions

  • SQL Server Management Objects (SMO)

  • Replication Management Objects (RMO)

  • Database API catalog functions

These components make up a published API for obtaining system information from SQL Server. Microsoft maintains the compatibility of these components from release to release. The format of the system tables depends upon the internal architecture of SQL Server and may change from release to release. Therefore, applications that directly access the undocumented columns of system tables may have to be changed before they can access a later version of SQL Server.

In This Section

The system table topics are organized by the following feature areas:

Backup and Restore Tables (Transact-SQL)

Log Shipping Tables (Transact-SQL)

Change Data Capture Tables (Transact-SQL)

Replication Tables (Transact-SQL)

Database Maintenance Plan Tables (Transact-SQL)

SQL Server Agent Tables (Transact-SQL)

SQL Server Extended Events Tables (Transact-SQL)

sys.sysoledbusers (Transact-SQL)

Integration Services Tables (Transact-SQL)

systranschemas (Transact-SQL)

See Also

Reference

Compatibility Views (Transact-SQL)

Catalog Views (Transact-SQL)