cerin Posted February 18, 2006 Share Posted February 18, 2006 While doing a tutorial I ran into a mistake where you make one of the column names the same as the table name. Even though it tells the reader to do it that way in the latter parts of the tutorial they have it set as something different. So, I was wondering how to change a column heading in a table, because it confuses me a little havin them both with the same name. Quote Link to comment https://forums.phpfreaks.com/topic/3477-column-headings/ Share on other sites More sharing options...
fenway Posted February 18, 2006 Share Posted February 18, 2006 ALTER TABLE has a CHANGE parameter that allows you to change both the name and type of the column -- check out [a href=\"http://dev.mysql.com/doc/refman/5.0/en/alter-table.html\" target=\"_blank\"]this refman page[/a]. Quote Link to comment https://forums.phpfreaks.com/topic/3477-column-headings/#findComment-11929 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.