In a SQL database I can get the increment value of a sequence:
select increment from sys.sequences where name = 'XXX';
Is there a way to do this for a sequence in an Oracle database?
The corresponding table in Oracle is all_sequences (see here):
select increment_by
from all_sequences
where sequence_name = 'XXX'
and sequence_owner = 'SCHEMANAME';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With