Learnerslesson
   JAVA   
  SPRING  
  SPRINGBOOT  
 HIBERNATE 
  HADOOP  
   HIVE   
   ALGORITHMS   
   PYTHON   
   GO   
   KOTLIN   
   C#   
   RUBY   
   C++   




HIVE CREATE DATABASE Statement

CREATE DATABASE statement is used to create a new HIVE database .


Syntax:

CREATE DATABASE <databasename>



CREATE DATABASE Example

The following SQL statement creates a database called "newDBtest":


CREATE DATABASE newDBtest;


Note : The default database in HIVE is 'default'.