MySQL Forums
Forum List  »  Newbie

Re: IF NOT EXISTS - checking for table by name
Posted by: Peter Brawley
Date: May 06, 2017 12:46AM

Write an sproc.

Or ...

drop table if exists customer;
create table if exists customer(...);



Edited 1 time(s). Last edit at 05/11/2017 06:50PM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: IF NOT EXISTS - checking for table by name
May 06, 2017 12:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.