sql - How do I find out which database a connection is using? -
i'm using sql server 2008.
i'm trying find out connection within database server using database want drop, can kill connection.
i can select session_id, login_name sys.dm_exec_sessions
etc find sessions in database, how session_id
database session connected?
Comments
Post a Comment