【文章內容簡介】
me=39。39。39。+@tmptable+39。39。39。) ? drop table ‘+@tmptable) 每次調用存儲過程前先清除上次調用的結果 ? set @str= ? 39。 select as khdm,spdm,case when kcsl is null then 0 else kcsl end as ? kcsl,39。+ ? 39。 case when xssl is null then 0 else xssl end as xssl, case when xsje is null then 0 else xsje end as xsje ? into 39。+@tmptable+39。 ? from (select ,spdm, sum(sl)as kcsl from vw_ckjxcmx where ? =39。39。39。+@rq_E+39。39。39。 and qr=39。39。139。39。 group by spdm,) as kchz left