CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Schema change- SQL coloumn name change

Print topic Send  topic

Author Message
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
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.