?Trigger to return primary key value after insert"
157476Jan 7 2002 — edited Mar 5 2003Ok, so I'm a newbie to oracle. I was hoping someone could tell
me how I can get the value of a field after insertion. I
created a sequence and a trigger to autoincrement the primary
key. I figured out that select @@Identity does not work. So
I'm trying to figure out how to return the primary key value of
just inserted record.
Any help or suggestions would be really appreciated.
thanks matt