Results 1 to 3 of 3

Thread: Keep track of the DML operations performed by several users

  1. #1

    Keep track of the DML operations performed by several users

    How do I know as a developer, the IP Address of a particular machine from SQL prompt? To be precise, I need to keep track of the DML operations performed by several users in my DB. How do I know that without having DBA previlege?


  2. #2
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Keep track of the DML operations performed by several users

    You can do either of the following,

    1) You can create an application that periodically tracks the manipulations on the database.

    2) You can create database triggers that generate reports on the manipulated database contents.

    Both are equally complex. I would personally choose the first solution.

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Keep track of the DML operations performed by several users

    you can create a trigger on a specified event .
    every time that event occurs ,you can make an entry to a log table the name of the user who executed the connand and which command.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact