SQL SERVER 查询数据库状态

 SQL SERVER 查询数据库状态

--查询数据库状态
select name,user_access,user_access_desc,
    snapshot_isolation_state,snapshot_isolation_state_desc,
    is_read_committed_snapshot_on
from sys.databases

  

创建时间:2020.07.17  更新时间:

原文地址:https://www.cnblogs.com/guorongtao/p/13329751.html