值的转换
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'