Skip to content

Commit 494b3b0

Browse files
committed
drop sequence
1 parent 329791a commit 494b3b0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/pegjs/oracle.pegjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,21 @@ stmt
152152
/ commit_stmt
153153
/ create_sequence_stmt
154154
/ alter_sequence_stmt
155+
/ drop_sequence_stmt
156+
157+
drop_sequence_stmt
158+
= operation:KW_DROP _
159+
object:KW_SEQUENCE _
160+
if_exists:if_exists? _
161+
name:schema_object _
162+
SEMI_COLON {
163+
return {
164+
operation,
165+
object,
166+
if_exists,
167+
name,
168+
};
169+
}
155170

156171
alter_sequence_stmt
157172
= operation:KW_ALTER _

0 commit comments

Comments
 (0)