21 lines
463 B
Plaintext
21 lines
463 B
Plaintext
CreateSequenceStmt <- 'SEQUENCE' IfNotExists? QualifiedName SequenceOption*
|
|
|
|
SequenceOption <-
|
|
SeqSetCycle /
|
|
SeqSetIncrement /
|
|
SeqSetMinMax /
|
|
SeqNoMinMax /
|
|
SeqStartWith /
|
|
SeqOwnedBy
|
|
|
|
SeqSetCycle <- 'NO'? 'CYCLE'
|
|
SeqSetIncrement <- 'INCREMENT' 'BY'? Expression
|
|
SeqSetMinMax <- SeqMinOrMax Expression
|
|
SeqNoMinMax <- 'NO' SeqMinOrMax
|
|
SeqStartWith <- 'START' 'WITH'? Expression
|
|
SeqOwnedBy <- 'OWNED' 'BY' QualifiedName
|
|
|
|
|
|
SeqMinOrMax <- 'MINVALUE' / 'MAXVALUE'
|
|
|