35.47. sequences
sequences
The view sequences contains all sequences defined in the current database.
Only those sequences are shown that the current user has access to (by way of being the owner or having some privilege).
Column Type Description |
|---|
sequence_catalog Name of the database that contains the sequence (always the current database) |
sequence_schema Name of the schema that contains the sequence |
sequence_name Name of the sequence |
data_type The data type of the sequence. |
numeric_precision This column contains the (declared or implicit) precision of the sequence data type (see above). The precision indicates the number of significant digits. It can be expressed in decimal (base 10) or binary (base 2) terms, as specified in the column |
numeric_precision_radix This column indicates in which base the values in the columns |
numeric_scale This column contains the (declared or implicit) scale of the sequence data type (see above). The scale indicates the number of significant digits to the right of the decimal point. It can be expressed in decimal (base 10) or binary (base 2) terms, as specified in the column |
start_value The start value of the sequence |
minimum_value The minimum value of the sequence |
maximum_value The maximum value of the sequence |
increment The increment of the sequence |
cycle_option
|
: sequences Columns
Note that in accordance with the SQL standard, the start, minimum, maximum, and increment values are returned as character strings.