使用指定的替换值替换 NULL。
语法
1 declare @tempTable table( 2 stuname nchar(10), 3 stuage int, 4 stuscore float); 5 insert into @tempTable 6 select name,age,ISNULL(score,0) from tb_Student 7 where ISNULL(score,0)<=60 8 select * from @tempTable
3 执行结果
原文:https://www.cnblogs.com/frankcui/p/10484327.html