SELECT
c.session_id
,s.login_name
,c.auth_scheme
,c.net_transport
,s.host_name
,s.login_time
FROM sys.dm_exec_connections c
INNER JOIN sys.dm_exec_sessions s on s.session_id = c.session_id
Showing posts with label DMV. Show all posts
Showing posts with label DMV. Show all posts
Tuesday, October 5, 2010
How to determin if you are logged in via Kerberos or NTLM on SQL Server
Simply run the following query.
Monday, April 5, 2010
DMVs Related to Disk I/O
Objective: Designing a Monitoring Strategy
Sub-objective: Design a monitoring solution at the operating system level
This is a list of DMVs I have encountered in my studies of I/O as it pertains to SQL Server. I have included a brief description from the MSDN article as well as link to the article itself. These will be highly important, not only from a certification level, but also from a practical level. This list is in DBA Survivor by Thomas LaRock and many of them are also found in sources like SQL Server 2008 Administration in Action by Rod Colledge and the chapter entitled My Favorite DMVs and Why by Aaron Bertrand in MVP Deep Dives.
