Best Way To Store Successful Logins in A Table

  • After looking around this site and others, doeis this link demonstrate the best way to implement a way to save successful logins into a table? I am generating some reports that need a count of user logins by the hour.

    http://www.sqlservercentral.com/articles/SQLServerCentral/sqlserver2005logontriggers/2366/

    Has anyone implemented his script or something similar in a production SQL Server?

    Steve

  • sgambale (1/25/2010)


    Has anyone implemented his script or something similar in a production SQL Server?

    Yes. Logon trigger is the way to go.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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

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