Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate SQL, Power BI, Fabric, and AI community-led event. March 31 - April 2. Use code MSCUST for a $150 discount. Prices go up Feb 11th.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: SQL Server Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW) SQL analytics endpoint in Microsoft Fabric Warehouse in Microsoft Fabric
Contains a row for each database schema.
Note
Database schemas are different from XML schemas, which are used to define the content model of XML documents.
Column name | Data type | Description |
---|---|---|
name |
sysname | Name of the schema. Is unique within the database. |
schema_id |
int | ID of the schema. Is unique within the database. |
principal_id |
int | ID of the principal that owns this schema. |
Database schemas act as namespaces or containers for objects, such as tables, views, procedures, and functions, that can be found in the sys.objects
catalog view.
Each schema has an owner. The owner is a security principal.
Requires membership in the public role.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate SQL, Power BI, Fabric, and AI community-led event. March 31 - April 2. Use code MSCUST for a $150 discount. Prices go up Feb 11th.
Register today