56,940
社区成员




set @sqlrun := v_sql;
prepare stmt from @sqlrun;
execute stmt;
-- 创建临时表tempTable1
CREATE TEMPORARY TABLE IF NOT EXISTS tempTable1 select * from sys_user;
-- 查询临时表
select * from tempTable1;
-- 查询临时表
select * from tempTable1 where UserID=3;
-- 删除临时表tempTable1
drop TEMPORARY TABLE tempTable1;