sql server 的 isnull 函数_C#

 

select ISNULL(NULL,0)  --是NULL的时候  置0
select ISNULL(null,0)  --null的时候    置0
select ISNULL('123',0)  --'123'的时候    置123