title | description | author | ms.author | ms.reviewer | ms.date | ms.service | ms.subservice | ms.topic | f1_keywords | helpviewer_keywords | dev_langs | monikerRange | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sys.xml_schema_collections (Transact-SQL) |
sys.xml_schema_collections (Transact-SQL) |
rwestMSFT |
randolphwest |
mikeray |
03/14/2017 |
sql |
system-objects |
reference |
|
|
|
=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]
Returns a row per XML schema collection. An XML schema collection is a named set of XSD definitions. The XML schema collection itself is contained in a relational schema, and it is identified by a schema-scoped [!INCLUDEtsql] name. The following tuples are unique: xml_collection_id, and schema_id and name.
Column name | Data type | Description |
---|---|---|
xml_collection_id | int | ID of the XML schema collection. Unique within the database. |
schema_id | int | ID of the relational schema that contains this XML schema collection. |
principal_id | int | ID of the individual owner if different from the schema owner. By default, schema-contained objects are owned by the schema owner. However, an alternate owner may be specified by using the ALTER AUTHORIZATION statement to change ownership. NULL = No alternate individual owner. |
name | sysname | Name of the XML schema collection. |
create_date | datetime | Date the XML schema collection was created. |
modify_date | datetime | Date the XML schema collection was last altered. |
[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.
Catalog Views (Transact-SQL)
XML Schemas (XML Type System) Catalog Views (Transact-SQL)
Querying the SQL Server System Catalog FAQ