Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: HOW TO SELECT LATEST INSERTED ROW..
Hay,
U can proceed in following
way..........
create a dummy table having one row one column
;
Update this value in a row level insert trigger of
your concrn table by the current row id ( or any key ).
Next use a statement level insert trigger on that
concern table and by select that key from dummy table U and perform
the
required opr.
This Row-level & Statement level triggers will
be usefull only when U inserting 1 row at a time.
Regards
Rana SenguptaExecutive SystemsUsha Martin Telekom Ltd.11 Dr. U
N Bhramchari Road.Calcutta - 700017Cell Phone: + 91 98300 32780Email
: ranasengupta_at_umtl.co.inWeb:
www.commandcell.com
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">