Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: New to DB Triggers..can U find the error?
Hallo,
At least one problem is the use of the sequnces. They can't be used so simply. Try
DECLARE
Id Number(10);
Begin
select seq_address_id.nextval into Number from dual; insert into address
Also mit Currval. Hope this helps. I struggled some days with this, but now runs fine! And you are right no reference or anything else says something about this!
Helmut Received on Thu Aug 21 1997 - 00:00:00 CDT
![]() |
![]() |