DROP IF EXISTS VS DROP?
问题 Can someone tell me if there is any difference between DROP IF EXISTS [TABLE_NAME] DROP [TABLE_NAME] I am asking this because I am using JDBC template in my MVC web application. If I use DROP [TABLE_NAME] the error said that Table exist. And if I use DROP IF EXISTS [TABLE_NAME] it says bad SQL grammar. Can some one help? 回答1: Standard SQL syntax is DROP TABLE table_name; IF EXISTS is not standard; different platforms might support it with different syntax, or not support it at all. In