ALTER DATABASE [MyDb] SET MULTI_USER WITH ROLLBACK IMMEDIATE;
GO
The workaround?
ALTER DATABASE [MyDb] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
GO
ALTER DATABASE [MyDb] SET MULTI_USER WITH ROLLBACK IMMEDIATE;
GO
looks like it is a known issue in SQL Server 2005. TODO: dig a link to KB article
No comments:
Post a Comment