I am already doing this. I have a website set up and a select page that pulls from a list of our servers in a central location. That page has hyper links to each server/database and passes that to the main page (DBA Dashboard_main). It would pass the database name and server name along. I had to use his install script on each server that I wanted to pull data from. Then I would use a common login that has execute permission. I would then use that common login for the data source for each page. The query for each dataset for each page would have to be changed to the following:
exec (@InstallDB + '.[DBA_Dashboard].Get_IndexFrag ''' + @DatabaseName + '''')
or
exec (@InstallDB + '.[DBA_Dashboard].Get_TablesWithoutPKs ''' + @DatabaseName + '''')
depending on what data source you want to use. I would like to write an article about this in SQL magazine with Gregs permission and help (and with credit to him of course). What do you say Greg?
Michael
Sr. DBA - MCDBA
See my Reader 2 Reader articles in Jan and August 2008 issues of SQL Server Magazine:)
