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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s