select * from sysprocesses where dbid in (select dbid from sysdatabases where name='dbname') 相关文章: 2021-06-13 2021-11-23 2022-12-23 2021-10-24