Jump to content

Recommended Posts

Hi all,

 

I like to rename my table's column.

My table name is: utf8_Alter

Field: Branch

 

 

In the Branch field I have few columns name

 

I tried to change the name with this query: But it didn't work.

 

ALTER TABLE `utf8_Alter` CHANGE `ゴルダーズグリーン` `ーン ノースロンドン` varchar( 64 )

MySQL said: Documentation
#1054 - Unknown column 'ゴルダーズグリーン' in 'utf8_Alter' 

 

The Collation in phphMyAdmin is :utf8_general_ci

 

Can anyone assist me what I did wrong here?

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/244214-rename-table-column-not-working/
Share on other sites

There is something strange with your collations -- not sure from where you're issuing that query.

 

In general, though, it's preferable to stick to ASCII-based table names & column names.

 

I am using phpMyAdmin to run the query and the collations said for multilingual I gotta choose UTF-8. Isn't that correct?

Yes thanks I think it's correct but when I try to run the query in PhpmyAdmin:

 

ALTER TABLE `utf8_Alter` CHANGE `ゴルダーズグリーン` `ーン ノースロンドン` varchar( 64 )

 

I got an error:

MySQL said: Documentation
#1054 - Unknown column 'ゴルダーズグリーン' in 'utf8_Alter' 

 

The UTF-8 is set okay but not sure what I missed here..any idea?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.