Skip to content

Commit 5f9240e

Browse files
committed
Schema-qualification GEN_ID/NEXT VALUE FOR
1 parent 0178b33 commit 5f9240e

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/docs/asciidoc/en/refdocs/fblangref60/_langref-commons.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ IF (A < B OR (A > C AND A > D) AND NOT (C = D)) THEN ...
687687
.Syntax
688688
[listing,subs=+quotes]
689689
----
690-
NEXT VALUE FOR _sequence-name_
690+
NEXT VALUE FOR [_seq-schema_ <period>] _sequence-name_
691691
----
692692

693693
`NEXT VALUE FOR` returns the next value of a sequence.

src/docs/asciidoc/en/refdocs/fblangref60/_langref-dml.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ SELECT
479479
|Name of a CTE
480480

481481
|schema-name
482-
|Name of a schema containing the table, package or procedure
482+
|Name of a schema containing the table, package or procedure.
483483

484484
|package-name
485485
|Name of a package

src/docs/asciidoc/en/refdocs/fblangref60/_langref-functions-scalar.adoc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3936,7 +3936,7 @@ Increments a sequence (generator) value and returns its new value
39363936
.Syntax
39373937
[listing,subs=+quotes]
39383938
----
3939-
GEN_ID (_generator-name_, _step_)
3939+
GEN_ID([_seq-schema_ <period>] _sequence-name_, _step_)
39403940
----
39413941
39423942
[#langref-funcs-tbl-gen-id]
@@ -3946,8 +3946,12 @@ GEN_ID (_generator-name_, _step_)
39463946
^| Parameter
39473947
^| Description
39483948
3949-
|generator-name
3950-
|Identifier name of a generator (sequence)
3949+
|seq-schema
3950+
|Schema of the sequence.
3951+
If not specified, the sequence will be located on the search path.
3952+
3953+
|sequence-name
3954+
|Identifier name of the sequence (generator)
39513955
39523956
|step
39533957
|An integer expression of the increment

0 commit comments

Comments
 (0)