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!

Nextval from trigger without using DUAL

499825May 31 2007 — edited Jun 1 2007
Hi everyone,

It is possible to obtain the nextval of a sequence from a trigger without using DUAL?

I have a table (TABLE1) with column ID NUMBER(10).
I have a sequence (SEQ1)
I need a trigger on before insert TABLE1 and I need obtain the nexval of the sequence BUT I CAN NOT use DUAL (it is forbbiden in my project. Don't ask :((( )

can you help me?

thanx a lot!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2007
Added on May 31 2007
18 comments
1,874 views