lava-oushudb-dt-sql-parser/test/parser/impala/syntax/fixtures/drop_db.sql

13 lines
415 B
MySQL
Raw Normal View History

-- DROP (DATABASE|SCHEMA) [IF EXISTS] database_name [RESTRICT | CASCADE];
DROP DATABASE my_database;
DROP DATABASE IF EXISTS my_database;
DROP DATABASE my_database RESTRICT;
DROP DATABASE IF EXISTS my_database CASCADE;
DROP SCHEMA my_database;
DROP SCHEMA IF EXISTS my_database;
DROP SCHEMA my_database RESTRICT;
DROP SCHEMA IF EXISTS my_database CASCADE;
-- example
drop database temp;
drop database temp cascade;