Question

I simply want to drop the table 'whatever' if it exist and then recreate table 'whatever' in a single query if possible.

DROP TABLE IF EXISTS `whatever` ELSE
    CREATE TABLE `whatever`

Any idea ?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top