Hi,
One of our cluster Server got disk issue and msdb database goes offline/unavailable on that sql server.
I have to manually take database offline and then online using t-sql
I was thinking if i can run a query on that server remotely to check the state of msdb and if it's unavailable i will set to offline and then online. but don't know the code to do that... i thought of using Linked Server functionality but coudn't get work around.
Thanks
We are using SQL Server 2005 SP3.