CREATE TABLE IF NOT EXISTS vs SHOW TABLES LIKE

后端 未结 0 897
野趣味
野趣味 2020-12-16 08:01

In MySQL, which is a better practice? Always use "CREATE TABLE IF NOT EXISTS", or check first the existence of the table using "SHOW TABLES LIKE" before

相关标签:
回答
  • 消灭零回复
提交回复
热议问题