怎么看有多少用户链接数量?即有多少个用户连接着 ,这个数量是否能修改最大数量,要如何改?

解决方案 »

  1.   

    右击数据库-》任务-》detach->在现实信息的message处你就可以看见连接数了
      

  2.   

    sp_who2
    ---一般默认足够了,你需要在程序中把用过connection关闭并释放掉。
      

  3.   

    数据库是SQL2005的。有这个detach菜单选项吗?我好想没找到哦。
      

  4.   


     select   count(*)   as   连接数   from   master..sysprocesses   where   db_name(dbid)='etcom'