日期:2014-05-17  浏览次数:20547 次

值的转换
select TC016  from SFCTC where TC022='N' and TC004='5104' and TC005='13050415'

这个查询出来结果是没有的,可以转换为结果为0吗?谢谢!

------解决方案--------------------

select isnull((select TC016 from SFCTC where TC022='N' and TC004='5104' and TC005='13050415'),0) 'TC016'