SQL中多项合并时请加ISNULL
摘要:
今天发现多项中,其中有一项为空时,所有的数据都不显示。 加ISNULL解决: set @tolname=@tolname+ISNULL((SELECT [names] FROM [toolist] where id=@strSQL1),'')+'<br/>' 阅读全文
posted @ 2011-07-04 17:43 ★金★ 阅读(406) 评论(0) 推荐(0) 编辑
posted @ 2011-07-04 17:43 ★金★ 阅读(406) 评论(0) 推荐(0) 编辑
posted @ 2011-07-04 16:30 ★金★ 阅读(1051) 评论(0) 推荐(0) 编辑