Updated on 2024-05-07 GMT+08:00

ADM_SEQUENCES

ADM_SEQUENCES displays information about all sequences in the database. By default, only the system administrator can access this view. Common users can access the view only after being authorized. This view exists in both PG_CATALOG and SYS schema.

Table 1 ADM_SEQUENCES columns

Name

Type

Description

sequence_owner

character varying(64)

Owner of a sequence.

sequence_name

character varying(64)

Name of the sequence.

min_value

int16

Minimum value of the sequence.

max_value

int16

Maximum value of the sequence.

increment_by

int16

Increment of the sequence.

last_number

int16

Value of the previous sequence.

cache_size

int16

Size of the sequence disk cache.

cycle_flag

character(1)

Specifies whether a sequence is a cyclic sequence. Value range:
  • Y: It is a cyclic sequence.
  • N: It is not a cyclic sequence.