Hi,
I want to run a custom SQL (to monitor some SQL server mirroring stats) on SQL Server Database [master].
I'll have list of database names and want to pass one list item at a time to the SQL as a parameter.
This value will go in one of the where clause as condition (WHERE column_name = 'PARAMETER FROM THE LIST').
How can I do this? I don't know if I can do this using "SQL Server User Experience monitor".
So, I think I'll have to use "Windows PowerShell monitor" or "Windows Script monitor". As the node is Windows 2012 server I can't use "Linux/Unix Script Monitor".
Please suggest me a way that I can try out.