javier,
Wednesday, August 14, 2002, 12:51:10 PM, you wrote:
>> Hi, I would like to change the name of one column of
>> a
>> table.
>>
>> I did:
>> ALTER TABLE name_table ALTER COLUMN old_column
>> RENAME
>> new_column
>>
>> but it did not work due to don't understand a RENAME
>> after ALTER COLUMN.
>>
>> Could someone help me?
Sure.
Take a look at the manual, you can find correct syntax for change
column name here:
http://www.mysql.com/doc/en/ALTER_TABLE.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php