DBZ-3606 Add CASCADE CONSTRAINTS support for Oracle DROP TABLE

This commit is contained in:
Chris Cranford 2021-06-09 10:01:40 -04:00 committed by Gunnar Morling
parent 8783eae098
commit 3f5ede445c
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -0,0 +1,2 @@
-- Drop Table
DROP TABLE TEST.STUDENT CASCADE CONSTRAINTS;