select state_desc,name,user_access_desc from sys.databases where name='db'RESTORE DATABASE DB WITH RECOVERYio
而後該回讀屬性select
Alter Database promotiondb SET MULTI_USERdb