SV: Sequence
From: Tomas Gardson <tomas.gardson_at_mbox200.swipnet.se>
Date: Sun, 19 Mar 2000 08:06:00 +0100
Message-ID: <NH2B4.7606$_Z2.14887_at_nntpserver.swip.net>
Date: Sun, 19 Mar 2000 08:06:00 +0100
Message-ID: <NH2B4.7606$_Z2.14887_at_nntpserver.swip.net>
I think you have to give a little more information on how you are usign the sequence. But I will give you some ideas what can give such a problem. When you are using sequences you have to bee careful on how many rows that the sequence is affecting. For examle:
Select samlepseq.nextval from dual;
This will increment the sequence by one if the sequence is desinged to do so and that the table dual only contains one row!
Select sampleseq.nextval from table_containg_ten_rows;
This example will increment sampleseq by 10 since the select command returns 10 rows;
So look in your procedure and see how many rows is affected in your use of the sequence.
Tomas,
-- Standard applications on Oracle databases www.digimera.comReceived on Sun Mar 19 2000 - 08:06:00 CET