Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What is the best way to store the SCN for an insert/update in that rec

WoodyMcKayJul 23 2015 — edited Jul 25 2015

Oracle 12.1.0.2 on Win 64 non-container

When a record in a table is inserted or updated, what would be the best way to store the SCN for that record in that record.

I thought about an after row trigger, but didn't know if that trigger fire to store the current_scn would yet fire off that trigger again (recursive trigger).

Does anyone have a good idea of what the best way is to do this?  The devs do not want to store the pk and scn in yet another table...

This post has been answered by unknown-7404 on Jul 23 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2015
Added on Jul 23 2015
14 comments
2,330 views