摘要: declare @testStr varchar(1000)set @testStr='42,44,7343,9364,9345,9276,9247,9248,9029';while(2<5) --2<5即==truebegin if(charindex(',',@testStr)>1) begin if exists(select 1 from yxs_DrugsLable where id=substring(@testStr,0,charindex(',',@testStr))) begin print '标签表包 阅读全文
posted @ 2012-01-05 14:15 That's me 阅读(145) 评论(0) 推荐(0) 编辑