2010-04-12 83 views

回答

2

或通過查詢INFORMATION_SCHEMA:

SELECT engine 
    FROM information_schema.tables 
WHERE table_schema = 'test' 
    AND table_name = 'q'; 

+--------+ 
| engine | 
+--------+ 
| MyISAM | 
+--------+ 
1 row in set (0.01 sec) 
1
SHOW CREATE TABLE table_name 

將針對給定的工作表中。