Solved

sql server user logins

Posted on 2014-04-02
5
424 Views
Last Modified: 2014-04-03
I created a sql server 2008 r2 database for a specific user and assigned them as dbowner. Is there  a way to tell if this user has been logging in and using this database?

thanks!
0
Comment
Question by:Starr Duskk
  • 3
5 Comments
 
LVL 9

Accepted Solution

by:
Sreedhar Vengala earned 250 total points
ID: 39973783
In MSSQL server you can run the following command...

exec sp_who2

Open in new window


This will give you a lot of information including who is logged in, application name, current command, so on and so forth.
0
 
LVL 1

Author Comment

by:Starr Duskk
ID: 39973804
That shows only events since 3/23.

How do I see event as far back as 3/20? If it doesn't show that date is it just not there? That's when I created the database. And I logged in with the account that date, but I don't see any record of it.

thanks!
0
 
LVL 6

Assisted Solution

by:Patrick Tallarico
Patrick Tallarico earned 250 total points
ID: 39974047
Check out the following article:
http://www.ultimatewindowssecurity.com/sqlserver/Default.aspx

Have you checked the Windows Event Viewer?  The security collection may have a listing of the authentication to the sql server.
0
 
LVL 1

Author Comment

by:Starr Duskk
ID: 39975919
The windows event viewer doesn't show the sql server logins in the security collection.

I'll check out the other link. thanks all!
0
 
LVL 1

Author Closing Comment

by:Starr Duskk
ID: 39975924
thanks!
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now