ryuuguu
Posts: 13
|
| Posted: 11/08/2004, 7:19 PM |
|
I would like to change the name of a column in one of my SQL tables. I did a global "find in files" (*.* subfolder current project) it finds the column name in *.php, *.html and *.ccp files. The column is not security related. The name is used as template varible also {old_name} which is why it is in the *.html. the new_name does not exist in any files by global "find in files".
If I do a global "Replace in files" will this break things? Can anyone suggest any other things to check before doing replace?
Cheers,
Grant
|
 |
 |
eze
|
| Posted: 12/02/2004, 4:07 AM |
|
what is the sql code for changing the column name of a table
|
|
|
 |
eze
|
| Posted: 12/02/2004, 4:10 AM |
|
what is the sql code foe changing the column of a table
|
|
|
 |
ryuuguu
Posts: 13
|
| Posted: 12/02/2004, 5:28 AM |
|
see http://dev.mysql.com/doc/mysql/en/ALTER_TABLE.html
if you are using MySQL if other SQL look up Alter table in the manual
I made the changes in my original post and I found no problems so far.
|
 |
 |
|