Inherited from Serializable
Inherited from Serializable
Inherited from Command
Inherited from LogicalPlan
Inherited from Logging
Inherited from QueryPlan[LogicalPlan]
Inherited from TreeNode[LogicalPlan]
Inherited from Product
Inherited from Equals
Inherited from AnyRef
Inherited from Any
A command for users to remove a database from the system.
'ifExists': - true, if database_name does't exist, no action - false (default), if database_name does't exist, a warning message will be issued 'cascade': - true, the dependent objects are automatically dropped before dropping database. - false (default), it is in the Restrict mode. The database cannot be dropped if it is not empty. The inclusive tables must be dropped at first.
The syntax of using this command in SQL is: