apache hive - Hive Drop Table - hive tutorial - hadoop hive - hadoop hive - hiveql
apache hive related article tags - hive tutorial - hadoop hive - hadoop hive - hiveql - hive hadoop - learnhive - hive sql
How to drop a table in hive?
Drop Table Statement
- The DROP TABLE statement is used to drop an existing table in a database.
- The SQL DROP TABLE statement allows you to remove or delete a table from the SQL database.
- DROP TABLE statement can be used to remove a table with its associated indexes and data
Syntax:
learn hive - hive tutorial - hive drop table - hive programs - hive examples
- The following query drops a table named employee:
Output:
apache hive related article tags - hive tutorial - hadoop hive - hadoop hive - hiveql - hive hadoop - learnhive - hive sql
JDBC Program
- The following JDBC program drops the employee table.
- The following query is used to verify the list of tables:
Syntax:
- The following commands given are used to compile and execute this program.