工程是一门科学,科学是严谨的。
摘要: select distinct pipeId=substring(a.PipeIn,b.number,charindex(',',a.PipeIn+',',b.number)-b.number)from B_PipeSet_Info ajoin master..spt_values b on b.type='P'where charindex(',',','+a.PipeIn,b.number)=b.number 阅读全文
posted @ 2014-03-05 11:57 大圣的笑 阅读(1020) 评论(0) 推荐(0) 编辑