MySQL Forums
Forum List  »  General

Rename column but keep old name as alias
Posted by: Benjamin Nutting
Date: December 22, 2015 07:09PM

Is it possible to rename a MySQL table column from say poNumber to UserSpareField1 while keeping poNumber available? I am upgrading a few tables to be more generic and it's hard to hit and test EVERYTHING quickly...so thought maybe there was a way without breaking something by accident...

Options: ReplyQuote


Subject
Written By
Posted
Rename column but keep old name as alias
December 22, 2015 07:09PM


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.