set @id='b.pro_id=(select pro_id from tb_sft_product where ofc_id='''+@ofc_id+''') and c.PCL_ID=(select pcl_id from tb_sft_proclist where pro_id=(select pro_id from tb_sft_product where ofc_id='''+@ofc_id+'''))'set @sqlstr='select b.pro_name,c.pcl_name,b.svr_name,b.pro_gg,b.pro_bw,b.pro_time,a.pro_relcount,a.pro_zycount from tb_sft_product a,tb_sft_proclist b,tb_sft_procclass c where '+@id 我这样试了也是得到以上的串! 但是可以运行! 是不是咱们人类的肉眼是看不着的呀!(: 不明中!!!
@restr varchar(437) output 和读出的串是没有关系的呀
我最后SELECT的是@sqlstr
@reval=@reval output,@restr=@restr output
上面的代码最好将变量名称分开。
我这样试了也是得到以上的串!
但是可以运行!
是不是咱们人类的肉眼是看不着的呀!(:
不明中!!!