バージョンごとのドキュメント一覧

37.47. sequences #

The view <literal>sequences</literal> 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). sequencesビューは、現在のデータベース内で定義されたすべてのシーケンスがあります。 現在のユーザが(所有者である、または、何らかの権限を持つために)アクセスできるシーケンスのみが表示されます。

表37.45 sequencesの列

<title><structname>sequences</structname> Columns</title>

Column Type 列 型

Description 説明

sequence_catalog sql_identifier

Name of the database that contains the sequence (always the current database) シーケンスを含むデータベースの名前です(常に現在のデータベースです)。

sequence_schema sql_identifier

Name of the schema that contains the sequence シーケンスを含むスキーマの名前です。

sequence_name sql_identifier

Name of the sequence シーケンスの名前です。

data_type character_data

The data type of the sequence. シーケンスのデータ型です。

numeric_precision cardinal_number

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 <literal>numeric_precision_radix</literal>. この列は(宣言された、あるいは、暗黙的な)シーケンスデータ型の精度(上述)です。 精度は有効桁数を意味します。 numeric_precision_radixの指定に従い、これは10進数(10を基とする)または2進数(2を基とする)で表現されます。

numeric_precision_radix cardinal_number

This column indicates in which base the values in the columns <literal>numeric_precision</literal> and <literal>numeric_scale</literal> are expressed. The value is either 2 or 10. この列は、numeric_precisionおよびnumeric_scaleで表現される値の基が何かを示します。 値は2または10です。

numeric_scale cardinal_number

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 <literal>numeric_precision_radix</literal>. この列はシーケンスデータ型の(宣言された、または、暗黙的な)位取り(上述)です。 位取りは、小数点以下の有効桁数を意味します。 numeric_precision_radixの指定に従い、これは10進数(10を基とする)または2進数(2を基とする)で表現されます。

start_value character_data

The start value of the sequence シーケンスの開始値です。

minimum_value character_data

The minimum value of the sequence シーケンスの最小値です。

maximum_value character_data

The maximum value of the sequence シーケンスの最大値です。

increment character_data

The increment of the sequence シーケンスの増加値です。

cycle_option yes_or_no

<literal>YES</literal> if the sequence cycles, else <literal>NO</literal> シーケンスが周回する場合はYES、それ以外はNOです。


Note that in accordance with the SQL standard, the start, minimum, maximum, and increment values are returned as character strings. SQL標準に従い、開始、最小、最大および増加の値が文字列で返されることに注意してください。