On Fri, Feb 5, 2010 at 3:10 AM, A. Stiebing <stiebing@xxxxxxxxxxxxxxx>wrote: > > if(:new.id is null) then > select seq_AUFT.nextval into :new.id from dual; > end if; > > There's the problem right there. Some code passes in a value for ID and the sequence is bypassed. Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist Oracle Blog: http://jkstill.blogspot.com Home Page: http://jaredstill.com