Viewing post 1 (of 2 total)
I agree, I think the ALTER DATABASE <databaseName> SET SINGLE_USER WITH ROLLBACK IMMEDIATE is more elegant and precludes the risk of active connections occurring while the cursor is killing the...
October 21, 2009 at 3:47 pm
#1069162