C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
| Hive - Create DatabaseIn Hive, the database is considered as a catalog or namespace of tables. So, we can maintain multiple tables within a database where a unique name is assigned to each table. Hive also provides a default database with a name default. 
 hive> show databases;   Here, we can see the existence of a default database provided by Hive. 
 hive> create database demo;   So, a new database is created. 
 hive> show databases;   
   
 hive> create a database if not exists demo;   
 
hive>create the database demo
		>WITH DBPROPERTIES ('creator' = 'Gaurav Chawla', 'date' = '2019-06-03'); 
  
 hive> describe database extended demo;   
Next TopicHive Drop Database
 |