有个sp_who可以,但是不太适合你的问题。你可以用这句话select * from master..sysprocessea where dbid=db_ID(‘post’)这句会现实所有在连的进程(客户端)数