set @tSiteDoMain=' and SiteDoMain like ''%'+@SiteDoMain+'%''' 转载于:https://www.cnblogs.com/taizhouxiaoba/archive/2009/03/10/1407657.html