Auditing the logons, what table(s) are they in?

  • Hello,

    I am auditing both successful and failed logins on my SQL server instances, but I'd like to know if they are kept in any SQL server system tables for me to query? If yes, does anybody know that table names so I can take a look?

    Thank you,

    D.

  • I am not sure about the tables but if you want to get the details from t-sql. you can run

    sp_readerrorlog 0,1,'login'

    This reads from the error log and returns the details for the keyword Login.

    Ryan
    //All our dreams can come true, if we have the courage to pursue them//

  • Perfect, thank you very much.

    Regards,

    D.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply