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