running SINGLE_USER from master database- does it include you?
When we run SINGLE_USER command for a database from the master database, does it give the chance for another process to connect and become the single user connected?
I guess when you run that from that database itself, it will assume that you are the only user.
The purpose to do this is to do a restore of the database(so all the users are gone). that is why I am thinking of running it from the master DB; but wondering if anyone else will be able to connect before the restore begins.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.