DBZ-6442 Support FORCE-clause in DROP TABLE

This commit is contained in:
Chris Cranford 2023-05-09 08:29:05 -04:00 committed by Jiri Pechanec
parent 38cdcb2152
commit 1a44431114
2 changed files with 3 additions and 2 deletions

View File

@ -2540,7 +2540,7 @@ truncate_table
;
drop_table
: DROP TABLE tableview_name (AS tableview_name)? (CASCADE CONSTRAINTS)? PURGE? (AS quoted_string)? SEMICOLON
: DROP TABLE tableview_name (AS tableview_name)? (CASCADE CONSTRAINTS)? PURGE? (AS quoted_string)? FORCE? SEMICOLON
;
drop_view

View File

@ -1,3 +1,4 @@
-- Drop Table
DROP TABLE TEST.STUDENT CASCADE CONSTRAINTS;
drop table inbox cascade constraints AS "BIN$yv+1ra/roTjgUwEBAH+ByQ==$0" ;
drop table inbox cascade constraints AS "BIN$yv+1ra/roTjgUwEBAH+ByQ==$0" ;
DROP TABLE TEST.TAB FORCE;