Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 161871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:17:26+00:00 2026-05-11T11:17:26+00:00

Is there any system view or tables available to get history logins to MS

  • 0

Is there any system view or tables available to get history logins to MS SQL server 2005?

If it were available, I would like to use TSQL to get information about login information for a datetime range. I have a scheduled job failed one day because of a thread deadlock exception on a table accessed by a stored procedure. By checking login information during that time, it may provide narrow-down information about what may caused the problem.

I guess there maybe some SQL server settings to enable saving login information. If there is no system history of login information by default, is there anyway to setup/confgure so that detailed login information can be saved?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T11:17:26+00:00Added an answer on May 11, 2026 at 11:17 am

    The SQL Server has basic auditing which can audit logins to the ERRORLOG. Right click on the SQL Server in the Object Explorer and select properties. Select the Security section and select ‘Both failed and successful logins’ in the Login Auditing. Depending on how many people connect to the SQL Server the ERRORLOG will fill quite a lot. Make sure to turn in off after you find the problem.

    You can also set the DEADLOCK_PRIORITY setting for the job so that it always wins the deadlock instead of failing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 78k
  • Answers 78k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer 31 gigs is a really big text file. I bet… May 11, 2026 at 3:40 pm
  • added an answer The main time to use ArrayList is in .NET 1.1… May 11, 2026 at 3:40 pm
  • added an answer That's exactly right. But you wouldn't use dealloc, when using… May 11, 2026 at 3:40 pm

Related Questions

I've got a table structure I'm not really certain of how to create the
WinXP Pro Oracle 10g Instant Client 10.2.0.1 MS Access 2003 When I link a
Let's say you have a form with a component that displays data from a
I currently have an application that gets hit with over 20,000 users daily and

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.