Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sequence Number
It can be a way (I work with Oracle 7.3).
Look at DBA_SEQUENCES or ALL_SEQUENCES or USER_SEQUENCES.
If CACHE_SIZE is > 0 (probably 8 in your case), you can modify your =
sequence with ALTER SEQUENCE.
For example :
SQL> SELECT cache_size FROM user_sequences WHERE sequence_name = = 'IDERR'; CACHE_SIZE
8
SQL> ALTER SEQUENCE iderr NOCACHE;
Séquence modifiée.
SQL> SELECT cache_size FROM user_sequences WHERE sequence_name = = 'IDERR'; CACHE_SIZE
0
nsprint_at_novasprint.com.my a écrit dans le message =
<3745106E.FB899A31_at_novasprint.com.my>...
>Hi,
>
>Can anyone help me on this?
>
>I've some problem on Sequence in Oracle 8.
>
>There is a "gap" in the retrieval of sequence number from a Sequence
>Table created in Oracle8.
>Eg. The last sequence number retrieved yesterday was 23 but today when
>testing the same function to retrieve the next sequence, it jumped to
>31!!
>
>Can anyone give me some solution on this issue?
>
>Thanx in advance.
>
>Best regards
>HW
>
>
Received on Fri May 21 1999 - 04:14:10 CDT