December 10, 2013 at 7:15 am
Hi,
Could any1 help me how to find inactive users(e.g users who have not logged in for a long time) in SQL server???
December 10, 2013 at 7:35 am
SELECT name,accdate FROM master.dbo.syslogins
December 10, 2013 at 7:38 am
SELECT name,accdate FROM master.dbo.syslogins
shows the creation date but i want the last login date when the user logged in for the last time
December 10, 2013 at 7:47 am
SQL doesn't track that automatically. You'll need custom auditing for that.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy