Nextval from trigger without using DUAL
499825May 31 2007 — edited Jun 1 2007Hi 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!