Forums » Beta

Thread: Renaming Columns with Other Column Editing

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 0 - Pages: 1
Scott M. Sanders


Posts: 40
Registered: 1/27/11
Renaming Columns with Other Column Editing
Posted: Aug 23, 2011 8:14 AM
 
  Click to reply to this thread Reply

If I try to edit multiple columns at once while renaming at least one of them, I tend to get SQL errors, so I resort to doing them one at a time.

For example, if I use the alter table dialog to rename an existing column ("age_range" to "age_range_from"), add a new column ("age_range_to"), move the new column up to under the first column, and press OK, I will get a database error that the first column's old name ("age_range") is unknown.



Legend
Guru: 2001 + pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums