April 10, 2009 at 11:39 am
Hi,
Where I can find a list of all DMV's in SQL 2005 and, if possible,what they are used for?
Thank you,
T.
April 10, 2009 at 11:59 am
You can get a list with this command:
select * from sys.system_views
See Books OnLine for descriptions.
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
April 10, 2009 at 12:00 pm
Have you looked in Books Online? There's a pretty good list in there. Use the index rather than contents and look for anything that starts with sys.dm
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 11, 2009 at 7:48 am
Tony (4/10/2009)
Hi,Where I can find a list of all DMV's in SQL 2005 and, if possible,what they are used for?
Thank you,
T.
SQL 2005 ships with over 70 dmv's both documented and undocumented. Why you want to know all at a time? What are you exactly looking for? In addition you can use this:
SELECT * FROM sys.system_views
where name like 'dm%'
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply