SQL2005一个不起眼但很实用的函数
摘要:COALESCE返回其参数中的第一个非空表达式,当你要在n个字段中选取某一个非空值可以用它,比如下面语句select Coalesce(null,null,1,2,null)unionselect Coalesce(null,11,12,13,null)unionselect Coalesce(...
阅读全文
posted @ 2008-09-23 19:21
posted @ 2008-09-23 19:21
posted @ 2008-09-23 19:04
posted @ 2008-09-11 20:53
posted @ 2008-09-10 18:12