Script to list out all DMVs and DMFs of SQL Server
Posted by Jugal Shah on December 8, 2010
-- To check the diffrent kind of system objects
SELECT Distinct type_desc
FROM sys.system_objects
-- To get the list of DMVs or DMFs
SELECT name, type, type_desc,SCHEMA_NAME(schema_id) as SNAME
FROM sys.system_objects
WHERE name LIKE 'dm[_]%'
ORDER BY name

18.520469
73.856621
Like this:
Be the first to like this post.
This entry was posted on December 8, 2010 at 3:47 pm and is filed under SQL Server.
Tagged: DMFs, DMVs. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.