Contlu

连到master这个数据库
写如下语句

select * from sysprocesses where dbid in
(select dbid from sysdatabases where name=\'iChaoShi1\')

将所以连接iChaoShi1这个数据库的连接记录都求出来。

sysprocesses这个表记录所以连接到SQL SERVER数据库的连接。

分类:

技术点:

相关文章:

  • 2021-08-22
  • 2021-11-23
  • 2021-11-23
  • 2021-11-23
  • 2021-10-15
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-11-23
  • 2021-11-23
相关资源
相似解决方案