Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 4.19 KB

File metadata and controls

63 lines (49 loc) · 4.19 KB
title System Tables (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/15/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology system-objects
ms.topic language-reference
dev_langs
TSQL
helpviewer_keywords
status information [SQL Server]
tables [SQL Server], system tables
information retrieval [SQL Server]
status information [SQL Server], system tables
system information [SQL Server]
system tables [SQL Server]
system tables [SQL Server], about system tables
system tables [SQL Server], retrieving information from
retrieving system table information
ms.assetid 56b8ad51-930c-4e5c-8d99-8c939d5b70ac
author stevestein
ms.author sstein
manager craigg

System Tables (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2012-xxxx-xxxx-xxx-md]

The topics in this section describe the system tables in [!INCLUDEssNoVersion].

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

  • [!INCLUDEtsql] statements and functions

  • [!INCLUDEssNoVersion] Management Objects (SMO)

  • Replication Management Objects (RMO)

  • Database API catalog functions

These components make up a published API for obtaining system information from [!INCLUDEssNoVersion]. [!INCLUDEmsCoName] maintains the compatibility of these components from release to release. The format of the system tables depends upon the internal architecture of [!INCLUDEssNoVersion] 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 [!INCLUDEssNoVersion].

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

Compatibility Views (Transact-SQL)
Catalog Views (Transact-SQL)