Hive中强制删除数据库

  1. 若使用drop [database] if exists [database Name]语句删除数据库,若数据库中有表,则无法删除;如果想强制删除,则可以使用语句:drop database dblab cascade;