To find out the current type of a table, use the SHOW TABLE STATUS statement or SHOW CREATE TABLE
mysql>
mysql> CREATE TABLE mytbl
-> (
-> i INT,
-> c CHAR(1)
-> );
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> SHOW TABLE STATUS LIKE 'mytbl'\G
*************************** 1. row ***************************
Name: mytbl
Engine: MyISAM
Version: 10
Row_format: Fixed
Rows: 0
Avg_row_length: 0
Data_length: 0
Max_data_length: 1970324836974591
Index_length: 1024
Data_free: 0
Auto_increment: NULL
Create_time: 2011-10-03 14:03:39
Update_time: 2011-10-03 14:03:39
Check_time: NULL
Collation: latin1_swedish_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)
mysql>
mysql> drop table mytbl;
Query OK, 0 rows affected (0.00 sec)
Related examples in the same category