Monitor account activity for SQL Server 2005 -
I'm looking for the easiest way to see if the user is logging into my database. We have some old user accounts that are no longer being used. Instead of shutting them down and seeing who complains, instead I think that there may be some way to log on and run any kind of questions next month. What would be the easiest way to monitor and track this type of activity?
Edit: I would like to do this for all the databases on the server.
To know who is connected, you can use that to access you Permission is granted. To trace log events, a trace can be run for one month or two, if you are unsuccessful, restart SQL etc.
However, to see if there is any connection after the connection If you are doing, then you really have to use Profiler, as Mitch said
Comments
Post a Comment