white knight

导航

 

参考 https://www.cnblogs.com/lumnm/archive/2009/08/29/1556349.html

 

SELECT * FROM
[Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT
[DBID]
FROM
[Master].[dbo].[SYSDATABASES]
WHERE
NAME='DBNAME'
)

posted on 2018-08-23 09:10  white knight  阅读(466)  评论(0编辑  收藏  举报