查看錶建立時的創建信息


mysql> show create table student
    -> ;
+---------+---------------------------------------------------------------------
--------------------------------------------------------------------------------
------------------------------------------------+
| Table   | Create Table

                                                |
+---------+---------------------------------------------------------------------
--------------------------------------------------------------------------------
------------------------------------------------+
| student | CREATE TABLE `student` (
  `StudentID` int(11) NOT NULL,
  `StudentName` varchar(20) NOT NULL,
  `StudentType` int(11) NOT NULL,
  PRIMARY KEY (`StudentID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
+---------+---------------------------------------------------------------------
--------------------------------------------------------------------------------
------------------------------------------------+
1 row in set (0.08 sec)

mysql>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章