Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
SELECT  CONCAT('ALTER TABLE `', table_schema,'`.`',table_name, '` ENGINE=InnoDB;') AS sql_statements
FROM    information_schema.tables AS tb
WHERE   table_schema = "alvine_platform"
AND     `ENGINE` = 'MyISAM'
AND     `TABLE_TYPE` = 'BASE TABLE' AND `table_schema`!='mysql'
ORDER BY table_name DESC;

...