alter database [dbname] set offline with rollback immediate alter database [dbname] set online 转载于:https://www.cnblogs.com/kinpauln/p/3252728.html