4 The view sequences contains all sequences defined in the current
5 database. Only those sequences are shown that the current user has
6 access to (by way of being the owner or having some privilege).
8 Table 35.45. sequences Columns
14 sequence_catalog sql_identifier
16 Name of the database that contains the sequence (always the current
19 sequence_schema sql_identifier
21 Name of the schema that contains the sequence
23 sequence_name sql_identifier
27 data_type character_data
29 The data type of the sequence.
31 numeric_precision cardinal_number
33 This column contains the (declared or implicit) precision of the
34 sequence data type (see above). The precision indicates the number of
35 significant digits. It can be expressed in decimal (base 10) or binary
36 (base 2) terms, as specified in the column numeric_precision_radix.
38 numeric_precision_radix cardinal_number
40 This column indicates in which base the values in the columns
41 numeric_precision and numeric_scale are expressed. The value is either
44 numeric_scale cardinal_number
46 This column contains the (declared or implicit) scale of the sequence
47 data type (see above). The scale indicates the number of significant
48 digits to the right of the decimal point. It can be expressed in
49 decimal (base 10) or binary (base 2) terms, as specified in the column
50 numeric_precision_radix.
52 start_value character_data
54 The start value of the sequence
56 minimum_value character_data
58 The minimum value of the sequence
60 maximum_value character_data
62 The maximum value of the sequence
64 increment character_data
66 The increment of the sequence
68 cycle_option yes_or_no
70 YES if the sequence cycles, else NO
72 Note that in accordance with the SQL standard, the start, minimum,
73 maximum, and increment values are returned as character strings.