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).
Table 39.45. sequences
Columns
Column Type Description |
---|
Name of the database that contains the sequence (always the current database) |
Name of the schema that contains the sequence |
Name of the sequence |
The data type of the sequence. |
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 |
This column indicates in which base the values in the columns
|
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
|
The start value of the sequence |
The minimum value of the sequence |
The maximum value of the sequence |
The increment of the sequence |
|
Note that in accordance with the SQL standard, the start, minimum, maximum, and increment values are returned as character strings.