Results 1 to 3 of 3

Thread: OpenSchema perhaps?

  1. #1

    Thread Starter
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155
    Does anyone know how to retrieve a list of who is currently connected to a SQL Server 7 database???

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Hi Jason

    Login to the MASTER database, and SELECT * FROM SYSUSERS

    Or you can peruse thru the SQL DMO object library to find it that way, but then you need the SQL server enterprise manager installed on your clients.....

    Tom

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    My Bad!

    Use SELECT * FROM SYSPROCESSES

    SYSUSERS lists the users, not the active users

    SYSPROCESSES will list all processes from the system and active users


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width