mysql check collation of a table

前端 未结 4 1861
无人及你
无人及你 2020-12-08 18:18

How can I see what collation a table has? I.E. I want to see:

+-----------------------------+
|  table  |     collation     |
|-----------------------------|         


        
4条回答
  •  长情又很酷
    2020-12-08 18:37

    SHOW TABLE STATUS shows information about a table, including the collation.

    For example SHOW TABLE STATUS where name like 'TABLE_NAME'

提交回复
热议问题