Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
sys.securable_classes (Transact-SQL)
Applies to: 👁 Image
SQL Server 👁 Image
Azure SQL Database 👁 Image
Azure SQL Managed Instance 👁 Image
Azure Synapse Analytics 👁 Image
Analytics Platform System (PDW) 👁 Image
SQL analytics endpoint in Microsoft Fabric 👁 Image
Warehouse in Microsoft Fabric 👁 Image
SQL database in Microsoft Fabric
Returns a list of securable classes
| Column name | Data type | Description |
|---|---|---|
| class_desc | sysname | Name of the class. |
| class | int | Numerical designation of the class. |
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.
Examples
The following example returns the securable classes supported by this instance of SQL Server.
SELECT * FROM sys.securable_classes ORDER BY class;
See Also
Feedback
Was this page helpful?
