Catalog Views

Using catalog views is the preferred method for returning information used by the Microsoft SQL Server database engine. There is a catalog view to return information about almost every aspect of SQL Server. The number of catalog views is far too large to list here, but you can gain some insight into the range of information available by looking at the following list, which shows the categories of information covered by catalog views:

• Change Tracking

• Common language runtime (CLR) assembly

• Data spaces and full text

• Database mirroring

• Data spaces

• Endpoint

• Extended properties

• Linked servers

• Messages (for errors)

• Objects

• Partition function

• Resource Governor

• Scalar types

• Schemas

• Security

• Server-wide configuration ...

Get Microsoft® SQL Server 2008 R2 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.