|
-
Sep 26th, 2007, 03:18 PM
#1
Thread Starter
Hyperactive Member
SQL Server System SP to detech who's Login to what database?
Hi guys,
I double check one time the Database Server SQL Server (its a test Server) and i saw in the Event Viewer that one programmer is Logging In (Security - Success Audit)
I am no DBA but i would like to know what SP to run to check on who's login in the SQL Server Database and to what database? Provided that those user logging in uses the SA or Admin Users.
Thanks a lot!
- Vincent
-
Sep 26th, 2007, 04:06 PM
#2
Re: SQL Server System SP to detech who's Login to what database?
sp_Who
returns a list of everybody connected to the server and what database... even shows the current commend executing, and other neat items.
-tg
-
Sep 26th, 2007, 04:17 PM
#3
Re: SQL Server System SP to detech who's Login to what database?
There is also another flavor - EXEC SP_WHO2 - with some different columns of info.
-
Sep 26th, 2007, 04:49 PM
#4
Thread Starter
Hyperactive Member
Re: SQL Server System SP to detech who's Login to what database?
Is there a LOG file to view where a certain user connects to what Database Object at a specific date & time?
sp_who only shows the active users connected...
Thanks again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|