56,687
社区成员
发帖
与我相关
我的任务
分享
mysql> show create table t_iorikingdom;
+---------------+---------------------------------------------------------------
| Table | Create Table
+---------------+---------------------------------------------------------------
| t_iorikingdom | CREATE TABLE `t_iorikingdom` (
`id` int(11) DEFAULT NULL COMMENT 'comment for id汉字',
`f1` char(1) DEFAULT NULL COMMENT 'comment for f1汉字'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='comment for table汉字' |
+---------------+---------------------------------------------------------------
1 row in set (0.06 sec)
mysql> show full columns from t_iorikingdom;
+-------+---------+-------------------+------+-----+-------....----+--------------------+
| Field | Type | Collation | Null | Key | Defaul.... | Comment |
+-------+---------+-------------------+------+-----+-------....----+--------------------+
| id | int(11) | NULL | YES | | NULL ....ces | comment for id汉字 |
| f1 | char(1) | latin1_swedish_ci | YES | | NULL ....ces | comment for f1汉字 |
+-------+---------+-------------------+------+-----+-------....----+--------------------+
2 rows in set (0.00 sec)
mysql> show table status like 't_iorikingdom';
+---------------+--------+---------+----------.....----+-----------------------+
| Name | Engine | Version | Row_forma.....ons | Comment |
+---------------+--------+---------+----------.....----+-----------------------+
| t_iorikingdom | InnoDB | 10 | Compact ..... | comment for table汉字 |
+---------------+--------+---------+----------.....----+-----------------------+
1 row in set (0.00 sec)
mysql>
mysql> show create table t_iorikingdom;
+---------------+---------------------------------------------------------------
| Table | Create Table
+---------------+---------------------------------------------------------------
| t_iorikingdom | CREATE TABLE `t_iorikingdom` (
`id` int(11) DEFAULT NULL COMMENT 'comment for id',
`f1` char(1) DEFAULT NULL COMMENT 'comment for f1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='comment for table' |
+---------------+---------------------------------------------------------------
1 row in set (0.00 sec)
mysql>
mysql> show full columns from t_iorikingdom;
+-------+---------+-------------------+------+-----+----....-----+----------------+
| Field | Type | Collation | Null | Key | Def.... | Comment |
+-------+---------+-------------------+------+-----+----....-----+----------------+
| id | int(11) | NULL | YES | | NUL....nces | comment for id |
| f1 | char(1) | latin1_swedish_ci | YES | | NUL....nces | comment for f1 |
+-------+---------+-------------------+------+-----+----....-----+----------------+
2 rows in set (0.00 sec)
mysql>
mysql> show table status like 't_iorikingdom';
+---------------+--------+---------+------....----------------+-------------------+
| Name | Engine | Version | Row_f.... Create_options | Comment |
+---------------+--------+---------+------....----------------+-------------------+
| t_iorikingdom | InnoDB | 10 | Compa.... | comment for table |
+---------------+--------+---------+------....----------------+-------------------+
1 row in set (0.00 sec)
mysql>