when i run the command
alter database northwind
set multi_user with rollback immediate
the northwind database shows ACCESS denied and tagged as SINGLE USER
i donot understand why it so .can u pls explain .
I don’t think this is correct. WITH ROLLBACK AFTER | IMMEDIATE specifies when any [B]other[/B] transactions in the database should be rolled back, eg when setting the db to single user mode.
NO_WAIT specifies that if the ALTER DATABASE command cannot complete, ie other open transactions exist, then the ALTER command itself should rollback/fail.]]>