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
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
23 | 24 | 25 | 26 | 27 | 28 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
9 | 10 | 11 | 12 | 13 | 14 | 15 | |||
16 | 17 | 18 | 19 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 29 | |||
30 | 31 | 1 | 2 | 3 | 4 | 5 |
非常感谢这篇文章,帮我解决了大问题
Powered by:
博客园
Copyright © 2025 代码王子
Powered by .NET 9.0 on Kubernetes