存储过程中的 prepare
set @ins := concat('replace into ',@tbl,'_archive select * from ',@tbl,' where ',@col,' < ',@plw); prepare instmnt from @ins; execute instmnt;
set @ins := concat('replace into ',@tbl,'_archive select * from ',@tbl,' where ',@col,' < ',@plw); prepare instmnt from @ins; execute instmnt;