USE master; ALTER DATABASE [数据库名] SET READ_WRITE WITH ROLLBACK IMMEDIATE; ALTER DATABASE [数据库名] SET MULTI_USER; GO