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

Thread: Trigger question

  1. #1
    Join Date
    Apr 2006
    Posts
    1

    Trigger question

    Hi all
    I have a question and maybe you'll be able to help me.

    I have a table (Oracle 8.1.7) with trigger on it (instead of update). Is there a way to identify columns of this table listed in SET clause of UPDATE statement, which fired trigger, in trigger's code ?

    Thanks in advance for answers

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

    Cool


    Only by comparing ':NEW' to ':OLD'.
    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

  3. #3
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253

    A pedant writes ...

    Quote Originally Posted by air~traffic
    I have a table (Oracle 8.1.7) with trigger on it (instead of update).
    What you have there is either a view with an instead-of-update trigger, or a table with an on-update trigger -- you can't place an instead-of trigger on a table.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

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