字符串
set @st='B.BrandId=45 and I.xh LIKE ''%am%'' and ip.ParameterId=4'
变量
set @st='B.BrandId=45 and I.xh LIKE ''%' + am + '%'' and ip.ParameterId=4'
set @st='B.BrandId=45 and I.xh LIKE ''%am%'' and ip.ParameterId=4'
变量
set @st='B.BrandId=45 and I.xh LIKE ''%' + am + '%'' and ip.ParameterId=4'