I need to know one particular user's login and logout database history from beginning in SQL SERVER 2005. Can anyone help?
Asked
Active
Viewed 1,363 times
1 Answers
3
No, SQL Server does not track successful logins by default. And even if you turn that option, it'll only keep it back through the current log + 6 previous (again, by default), and those logs will be bloated and full of noise. You may wish to implement a logon trigger going forward, but going back in time, this information is simply not available.
Aaron Bertrand
- 181,950
- 28
- 405
- 624