Spark SQL DROP Statements Reference
DROP DATABASE
Description
Removes a database and its associated directory from the file system. An exception is thrown if the database does not exist.
Syntax
DROP { DATABASE | SCHEMA } [ IF EXISTS ] db_name [ RESTRICT | CASCADE ]
Parameters
DATABASE | SCHEMA
These keywords are interchangeable. Either can be used to refer to the database obje ...
Posted on Mon, 27 Jul 2026 16:36:06 +0000 by lpxxfaintxx