C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
Hive - Drop DatabaseIn this section, we will see various ways to drop the existing database.
hive> show databases;
hive> drop database demo;
hive> show databases; As we can see, the database demo is not present in the list. Hence, the database is dropped successfully.
hive> drop database if exists demo;
hive> drop database if exists demo cascade; This command automatically drops the tables present in the database first.
Next TopicHive Create Table
|