MySQL Forums
Forum List  »  Newbie

Re: mysql schema question
Posted by: Nick Roper
Date: August 10, 2004 03:07AM

Rick,

If you need to alter the structure of an existing table - e.g. table/column names, data types etc. then you should use the appropriate Data Definition statements, e.g:

ALTER TABLE (http://dev.mysql.com/doc/mysql/en/ALTER_TABLE.html)
RENAME TABLE (http://dev.mysql.com/doc/mysql/en/RENAME_TABLE.html)

These statements will ensure that any changes are properly reflected not only in the table structure, but also in any related data and indexes.

Nick

--
Nick Roper

Options: ReplyQuote


Subject
Written By
Posted
August 10, 2004 01:15AM
Re: mysql schema question
August 10, 2004 03:07AM


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.