How do I see what character set a database / table / column is in MySQL?

时间:2014-02-27 22:52:55   收藏:0   阅读:651

 

Q:

 

How do I see what the character set that a MySQL database, table and column are in? Is there something like

 

SHOW CHARACTER SETFOR mydatabase;

 

and

 

SHOW CHARACTER SETFOR mydatabase.mytable;

 

and

 

SHOW CHARACTER SETFOR mydatabase.mytable.mycolumn;



A:

How do I see what the character set that a MySQL database, table and column are in? Is there something like

SHOW CHARACTER SETFOR mydatabase;

and

SHOW CHARACTER SETFOR mydatabase.mytable;

and

SHOW CHARACTER SETFOR mydatabase.mytable.mycolumn;

 

参考:

http://stackoverflow.com/questions/1049728/how-do-i-see-what-character-set-a-database-table-column-is-in-mysql

How do I see what character set a database / table / column is in MySQL?,布布扣,bubuko.com

原文:http://www.cnblogs.com/xiaotengyi/p/3570534.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!