Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by sedat salman
»
Current Users, Session Counts &...
Current Users, Session Counts & Authentication Type
Rate Topic
Display Mode
Topic Options
Author
Message
sedat salman
sedat salman
Posted Tuesday, May 18, 2010 4:03 PM
SSC-Addicted
Group: General Forum Members
Last Login: Wednesday, November 14, 2012 12:39 PM
Points: 443,
Visits: 130
Comments posted to this topic are about the item
Current Users, Session Counts & Authentication Type
http://www.sdtslmn.com
Post #923951
fausto-1057143
fausto-1057143
Posted Tuesday, May 25, 2010 6:30 AM
Forum Newbie
Group: General Forum Members
Last Login: Wednesday, April 10, 2013 10:51 AM
Points: 2,
Visits: 321
The nt_user_name also can be empty for 'SQL Authentication' .
SELECT 'Authentication Method'=(
CASE
WHEN nt_user_name IS not null And nt_user_name <> '' THEN 'Windows Authentication'
ELSE 'SQL Authentication'
END), nt_user_name,
login_name AS 'Login Name', ISNULL(nt_user_name,'-') AS 'Windows Login Name',
COUNT(session_id) AS 'Session Count'
FROM sys.dm_exec_sessions
GROUP BY login_name,nt_user_name
Post #927400
Giorgio Conte
Giorgio Conte
Posted Thursday, May 27, 2010 7:23 AM
Forum Newbie
Group: General Forum Members
Last Login: Friday, February 22, 2013 10:52 AM
Points: 1,
Visits: 49
I don't understanda the date of the post (2010/06/17) !!!
Post #928967
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.