d13a92914d
Co-authored-by: liuyi <liuyi@dtstack.com>
15 lines
486 B
SQL
15 lines
486 B
SQL
-- Syntax
|
|
-- DROP { DATABASE | SCHEMA } [ IF EXISTS ] dbname [ RESTRICT | CASCADE ]
|
|
|
|
|
|
CREATE DATABASE inventory_db COMMENT 'This database is used to maintain Inventory';
|
|
CREATE SCHEMA inventory_db COMMENT 'This database is used to maintain Inventory';
|
|
|
|
DROP DATABASE inventory_db CASCADE;
|
|
DROP SCHEMA inventory_db CASCADE;
|
|
|
|
DROP DATABASE IF EXISTS inventory_db CASCADE;
|
|
DROP SCHEMA IF EXISTS inventory_db CASCADE;
|
|
DROP DATABASE inventory_db RESTRICT;
|
|
DROP SCHEMA inventory_db RESTRICT;
|