Primary key trigger?
JS, March 28, 2006 - 11:09 pm UTC
Tom,
Do you then imply that I should create a before insert trigger on the data table in order to populate the primary key from the sequence?
The only potential issue with this (as you have indicated in other posts) is that this is less performant compared to referencing the sequence in the insert statement.
March 29, 2006 - 7:04 am UTC
no, not at all?
I just said "it will as if it were not there at all - pro*c won't see the sequence"
Just code it right in the insert - don't use a trigger.