select state_desc,name,user_access_desc from sys.databases where name='db'
RESTORE DATABASE DB WITH RECOVERY
然后该回读属性
Alter Database promotiondb SET MULTI_USER
select state_desc,name,user_access_desc from sys.databases where name='db'
RESTORE DATABASE DB WITH RECOVERY
然后该回读属性
Alter Database promotiondb SET MULTI_USER