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

▼ Show 1 Answer

0 votes
by

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.

Learn More with Madanswer

Related questions

0 votes
asked Jan 12, 2020 in Big Data | Hadoop by sharadyadav1986
...