SQL query to obtain list of SCCM SQL views for report building.

I found this post I thought would be great to share from my fellow colleague’s blog, Eswar Koneti.  It details the SQL query needed in order to obtain a list of SQL views included in the SCCM 2012 database for report building purposes:

Select distinct table_name,COLUMN_NAME From Information_Schema.columns where table_name LIKE ('v_%') Order by table_name

UPDATE:  Here is his post for the SCCM 2012 R2 SQL Views!  A direct link to the spreadsheet is also included in my links sidebar.



Leave a Reply