日期:2014-05-16 浏览次数:20794 次
DROP PROCEDURE IF EXISTS demoSp; CREATE PROCEDURE demoSp() BEGIN set @sqlstr=concat("select count(*) from ", "dual"); prepare stmt from @sqlstr; EXECUTE stmt; deallocate prepare stmt; END;