mysql check collation of a table

前端 未结 4 1860
无人及你
无人及你 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:49

    Use this query:

    SHOW CREATE TABLE tablename
    

    You will get all information related to table.

提交回复
热议问题