This DROP TABLE IF EXISTS works, too bad that RENAME TABLE IF EXISTS doesn\'t work.
DROP TABLE IF EXISTS
RENAME TABLE IF EXISTS
Can anyone suggest a solution for this query?
If you are familiar with PL/SQL, then you can check for existence of table by querying information_schema.columns and based on this perform rename