Insrt update Trigger Help!!! Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Insrt update Trigger Help!!!

  1. #1
    Join Date
    May 2001
    Atlanta US
    Hi Gurus,

    I have a table to which I have added two columns.
    One is last_modified_date and the other is update_flag.

    I need a trigger here which performs the following:

    1) When a new record is inserted into the table, sysdate is moved into the last_modified_date col.
    2) WHen a record is updated, the update_flag is set to 'Y'.

    I tried two triggers but got the Mutating trigger.....

    Help Guys!
    Share on Google+

  2. #2
    Join Date
    Nov 2000
    Jeff Hunter
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."
    Share on Google+

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