Categories

Jan 12 in Big Data | Hadoop
Q: What is the purpose of USE command in Hive?

1 Answer

Jan 12

In Hive we have to call USE command before running and hive queries.

USE command  sets the current database on which query statements will be executed.  We can call USE default to set the database to default database.

Or we can call USE database_name to set the database on which we want to run the

 

queries.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Jan 12 in Big Data | Hadoop
Jun 14 in Hive
Apr 1 in Big Data | Hadoop
...