MySQL Forums
Forum List  »  Newbie

Re: alter table add colum if not exist
Posted by: Paul McArdle
Date: June 30, 2005 05:46AM

you could look at the mysql or information_shema table's.
write a script to see if the col exists for the database & table
creat col basted on that.

Options: ReplyQuote


Subject
Written By
Posted
Re: alter table add colum if not exist
June 30, 2005 05: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.