USE `graphics`;
SELECT CONCAT( 'ALTER TABLE ' ,TABLE_NAME ,' ENGINE=MyISAM; ') as `sql-commands-for-convert-engine`
FROM information_schema.TABLES AS t
WHERE TABLE_SCHEMA = 'graphics' AND TABLE_TYPE = 'BASE TABLE';
show table status from xxdb
mysql中是否有类似于eval的写法的,答案在这里:http://www.archn.cn/?post=27