You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: "System Information Schema Views (Transact-SQL)"
3
-
description: "System Information Schema Views (Transact-SQL)"
3
+
description: System information schema views are one method to provide SQL Server Database Engine metadata.
4
4
author: markingmyname
5
5
ms.author: maghan
6
-
ms.date: "07/30/2019"
6
+
ms.reviewer: randolphwest
7
+
ms.date: 07/16/2025
7
8
ms.service: sql
8
9
ms.subservice: system-objects
9
10
ms.topic: "reference"
@@ -16,89 +17,74 @@ helpviewer_keywords:
16
17
dev_langs:
17
18
- "TSQL"
18
19
---
19
-
# System Information Schema Views (Transact-SQL)
20
+
# System information schema views (Transact-SQL)
20
21
21
22
[!INCLUDE [SQL Server Azure SQL Database Azure SQL Managed Instance](../../includes/applies-to-version/sql-asdb-asdbmi.md)]
22
23
23
-
An information schema view is one of several methods [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] provides for obtaining metadata. Information schema views provide an internal, system table-independent view of the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] metadata. Information schema views enable applications to work correctly although significant changes have been made to the underlying system tables. The information schema views included in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] comply with the ISO standard definition for the INFORMATION_SCHEMA.
24
-
25
-
> [!IMPORTANT]
26
-
> Some changes have been made to the information schema views that break backward compatibility. These changes are described in the topics for the specific views.
27
-
28
-
[!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] supports a three-part naming convention when you refer to the current server. The ISO standard also supports a three-part naming convention. However, the names used in both naming conventions are different. The information schema views are defined in a special schema named INFORMATION_SCHEMA. This schema is contained in each database. Each information schema view contains metadata for all data objects stored in that particular database. The following table shows the relationships between the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] names and the SQL standard names.
29
-
30
-
|SQL Server name|Maps to this equivalent SQL standard name|
An information schema view is one of several methods [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] provides for obtaining metadata. Information schema views provide an internal, system table-independent view of the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] metadata. Information schema views enable applications to work correctly, although significant changes were made to the underlying system tables. The information schema views included in [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] comply with the ISO standard definition for the `INFORMATION_SCHEMA`.
25
+
26
+
> [!IMPORTANT]
27
+
> Some changes were made to the information schema views that break backward compatibility. These changes are described in the articles for the specific views.
28
+
29
+
[!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] supports a three-part naming convention when you refer to the current server. The ISO standard also supports a three-part naming convention. However, the names used in both naming conventions are different. The information schema views are defined in a special schema named `INFORMATION_SCHEMA`. This schema is contained in each database. Each information schema view contains metadata for all data objects stored in that particular database. The following table shows the relationships between the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] names and the SQL standard names.
30
+
31
+
| SQL Server name | Maps to this equivalent SQL standard name |
32
+
| --- | --- |
33
+
| Database | Catalog |
34
+
| Schema | Schema |
35
+
| Object | Object |
36
+
| User-defined data type | Domain |
37
+
38
+
This name-mapping convention applies to the following [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] ISO-compatible views.
The visibility of the metadata in information schema views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see [Metadata Visibility Configuration](../../relational-databases/security/metadata-visibility-configuration.md).
78
+
## Permissions
79
+
80
+
The visibility of the metadata in information schema views is limited to securables that a user either owns or on which the user is granted some permission. For more information, see [Metadata Visibility Configuration](../security/metadata-visibility-configuration.md).
81
+
82
+
Information schema views are defined server-wide and therefore can't be denied within the context of a user database. To `REVOKE` or `DENY` access (`SELECT`), the `master` database must be used. By default the public role has `SELECT`-permission to all information schema views but the content is limited with metadata visibility rules.
96
83
97
-
> [!NOTE]
98
-
> Information schema views are defined server-wide and therefore cannot be denied within the context of a user database. To REVOKE or DENY access (SELECT), the master database must be used. By default the public role has SELECT-permission to all information schema views but the content is limited with metadata visibility rules.
84
+
You can't deny access to information schema views in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)].
0 commit comments