Alerts from SQL 200o when a user access database

  • I am trying to identify the users accessing time in a particular period of time.

    Yes I can use activity monitor , but I would like to get an email alert when a user accessed a particular database.

    Say the user USER1 , who had read and write access, can access a the webpage.

    When the users access the database DB1, like any acitivity ( Read or write ) in database should trigger an email.

    How can i do that.

    Thanks.

    BJ

  • You really can't do what you are asking. You can audit logins/logouts or run a server-side trace to audit the database, but there is no way to trigger an action based on a select (read).

  • Audit login means, with event viewer ?? OR any other scripting?

    Could you explain a bit more?

  • Audit login means, with event viewer ?? OR any other scripting?

    Could you explain a bit more?

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

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