sqlserver isnull函数

isnull(参数1,参数2),判断参数1是否为NULL,如果是,返回参数2,否则返回参数1。

select ISNULL(null,'helloword') 返回helloword字符串
select ISNULL('','helloword')返回 空串

 
原文地址:https://www.cnblogs.com/jiangyunfeng/p/11987088.html