You can rename a column in the diagram or by using the Design Table option in the Enterprise Manager. [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href=
I know that i can use the design table option to change the column name but if i were to use coldfusion and i need to write a query to change the column name can it be done?
If it's possible how do i do so?
If there is no data in the column, you could use ALTER TABLE to drop the column, then re-add it. [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href=
access the syscolumns table in your database and change what you may. There is a lot of stuff in this table including the column names for all fields. [sig][/sig]
I would suggest that you make sure you have your database backed up before trying a direct update of a catalog table. Better yet, don't do it at all. If coldfusion can't handle the standard ways of renaming columns, maybe it's not the right tool for the job. [sig][/sig]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.