Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: 
 SQL Server 
 Azure SQL Database 
 Azure SQL Managed Instance 
 Azure Synapse Analytics 
 Analytics Platform System (PDW) 
 SQL analytics endpoint in Microsoft Fabric 
 Warehouse in Microsoft Fabric
Returns a row for each extended property in the current database.
| Column name | Data type | Description | 
|---|---|---|
| class | tinyint | Identifies the class of item on which the property exists. Can be one of the following values: 0= Database1= Object or column2= Parameter3= Schema4= Database principal5= Assembly6= Type7= Index8= User defined table type column10= XML schema collection15= Message type16= Service contract17= Service18= Remote service binding19= Route20= Dataspace (filegroup or partition scheme)21= Partition function22= Database file27= Plan guide | 
| class_desc | nvarchar(60) | Description of the class on which the extended property exists. Can be one of the following values: DATABASEOBJECT_OR_COLUMNPARAMETERSCHEMADATABASE_PRINCIPALASSEMBLYTYPEINDEXXML_SCHEMA_COLLECTIONMESSAGE_TYPESERVICE_CONTRACTSERVICEREMOTE_SERVICE_BINDINGROUTEDATASPACEPARTITION_FUNCTIONDATABASE_FILEPLAN_GUIDE | 
| major_id | int | ID of the item on which the extended property exists, interpreted according to its class. For most items, this is the ID that applies to what the class represents. Interpretation for nonstandard major IDs is as follows: If classis0,major_idis always0.If classis1,2, or7,major_idisobject_id. | 
| minor_id | int | Secondary ID of the item on which the extended property exists, interpreted according to its class. For most items this is 0; otherwise, the ID is as follows:If classis1,minor_idis thecolumn_idif column, else0if object.If classis2,minor_idis theparameter_id.If classis7,minor_idis theindex_id. | 
| name | sysname | Property name, unique with class,major_id, andminor_id. | 
| value | sql_variant | Value of the extended property. | 
Permissions
The visibility of the metadata in catalog views is limited to securables that a user either owns, or on which the user was granted some permission. For more information, see Metadata Visibility Configuration.