Current DB Connections

  • select count(*) from sysprocesses where db_name(dbid)= '<dbname>'

     

    MohammedU
    Microsoft SQL Server MVP

Viewing post 1 (of 2 total)

You must be logged in to reply to this topic. Login to reply