If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > retrieve user access log

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-18-10, 08:51
eddieaks eddieaks is offline
Registered User
 
Join Date: Oct 2002
Posts: 8
Wink retrieve user access log

hi,

im having a urgent issue here and hope someone here could give me a clue, im using ms sql 2008 and would like to know how to retrieve info of who has login to database before for the passed 3months. is there a system table or view in mssql that stored these information?

hope to hear your advice soon.

thanks!
Reply With Quote
  #2 (permalink)  
Old 06-18-10, 09:10
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
If you set up SQL Server to log all logins and outs then it will be in the log.
Reply With Quote
  #3 (permalink)  
Old 06-18-10, 09:21
eddieaks eddieaks is offline
Registered User
 
Join Date: Oct 2002
Posts: 8
hi,

what if i dont? means no others way to overcome this?

thanks.
Reply With Quote
  #4 (permalink)  
Old 06-18-10, 09:24
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
You can't audit this retrospectively without having set up appropriate tracking in the first place.
Reply With Quote
  #5 (permalink)  
Old 06-18-10, 09:45
eddieaks eddieaks is offline
Registered User
 
Join Date: Oct 2002
Posts: 8
ok, thanks and really appreciate ur promptly reply.
Reply With Quote
Reply

Tags
sql server 2008

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On