DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Is there something like DML timestamp in Oracle?

  1. #1
    Join Date
    Nov 2008
    Posts
    3

    Is there something like DML timestamp in Oracle?

    Is there any way to determine if a DML event such as select or insert was finished?

    I need to fire one process and it has to be done right after updating one of the tables. I am wondering if there is something like timestamp for DML event (equivalent of LAST_DDLTIME for DDL invents)?

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    no, not unless you are tracking it

  3. #3
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    No.

    You need to write the trigger and insert the time stamp in other table or enable auditing.

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

  4. #4
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Talking Create_chain?

    Or maybe use the DBMS_SCHEDULER "CREATE_CHAIN" procedure to execute the jobs in sequence.
    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

  5. #5
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Cool Triggers anyone?

    Quote Originally Posted by pszleter
    Is there any way to determine if a DML event such as select or insert was finished?

    I need to fire one process and it has to be done right after updating one of the tables. I am wondering if there is something like timestamp for DML event (equivalent of LAST_DDLTIME for DDL invents)?
    Your requirement is a bit confusing, first you refer to single statements (select or insert) and then you refer to "after updating one table".

    Follow my previous post to schedule a processing sequence for the jobs related to "after updating one table".

    Otherwise if you need to execute something right after/durinig each statement executing (other than "SELECT"), then the route to go is: Triggers.
    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width