How to test if SQL Server database is in Single User Mode

Viewed 35618

How can I test if the SQL Server database is in Single User Mode in a SQL script?

2 Answers
Related