I was out yesterday and this morning when I came in our production db was set to single user. And 2 of our scheduled jobs had failed one being the db maint plan. Is there a way I can find out who or what job changed the db to single user?
SQL Server closes a database and opens it in single user mode when that open is selected. It records the closing and opening of the database in the error log. However, the only information about who set the option is the SPID (system process ID) number. You can look through the log(s) to find the open and close sequence for the database in question. Terry
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.