Mega Code Archive
Categories
/
MySQL
/
Table Index
Add an IF NOT EXISTS clause to the statement
mysql> mysql> CREATE TABLE IF NOT EXISTS t (i INT); Query OK, 0 rows affected (0.00 sec) mysql> mysql> drop table t; Query OK, 0 rows affected (0.00 sec)