分类: Mysql/postgreSQL
2011-09-03 22:01:28
[root@db144 ~]# for I in dhzzsjb_hk gprxsjb_klse gprxsjb_sgx gprxsjb_tw qhfzxsjb_cff qhfzxsjb_dce qhrxsjb_cff qhrxsjb_dce qzzb_20130428 tmp_gpfzxsjb tmp_gpfzxsjb_hk tmp_gpfzxsjb_sh tmp_index_hk tmp_qzfzxsjb_hk tmp_zsfzxsjb tmp_zsfzxsjb_hk tmp_zsfzxsjb_sh ; do mysql -D realtime -e "ALTER TABLE $I ENGINE = InnoDB ;"; done [root@db144 ~]# |