Page 1 of 1

Curious Question!

Posted: Tue Aug 10, 2004 7:14 pm
by Joe
Just a question out of curiousity. Is there any method which changes the name of a column in the mysql database?

Posted: Tue Aug 10, 2004 7:16 pm
by qads

Code: Select all

ALTER TABLE `tablename` CHANGE `old field name` `new field name`
:?:

Posted: Tue Aug 10, 2004 7:18 pm
by Joe
Thanks man, much appreciated. :D