Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.oracle    |    Overblown overpriced overengineered SHIT    |    2,288 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,196 of 2,288    |
|    Olaf Maathuis to All    |
|    Re: Mutating tables    |
|    05 Mar 04 21:33:16    |
      From: omaathuis@keyaccess.nl              Simply placing the select statement in a statement level trigger instead in       a row level trigger gives the solution. In addition, you need to store the       old en new values in something like a packaged pl/sql table, which you can       acces in the statement level trigger. Filling the pl/sql table occurs in the       row level trigger. Besides, the query is a little bit useless when       inserting, since in that case old values simply don't exists, i.e. equals       null (numofdocs whill alwasy equal 0 when inserting).       "M Mueller" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca