views:

23

answers:

1

Hey guys,

I wondering how can I select columns with specific collation.

For example, I want to select all the columns which their collation is utf-8.

How can I get these things done?

Thanks very much!

+1  A: 

SHOW FULL COLUMNS is what you need:

SHOW FULL COLUMNS FROM xxx WHERE COLLATION = 'utf8_general_ci'
Anax
Thank you so much!It works :D