sys.securable_classes (Transact-SQL)

Returns a list of securable classes supported by this version of SQL Server.

Column name

Data type

Description

class_desc

sysname

Name of the class.

class

int

Numerical designation of the class.

Permissions

In SQL Server 2005 and later versions, the visibility of the metadata in catalog 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.

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

Concepts