Oracle -- Coalesce
来源:互联网 发布:武汉富士康2018java 编辑:程序博客网 时间:2024/05/29 23:24
COALESCE 函数用于返回列表表达式中第一个非空表达式,若全部参数为NULL, 则返回NULL.
语法:
Coalesce(expr1, expr2,....., exprn);;
如果所有参数均为 NULL,则 COALESCE 返回 NULL。至少应有一个 Null 值为 NULL 类型。尽管 ISNULL 等同于 COALESCE,但它们的行为是不同的。包含具有非空参数的 ISNULL 的表达式将视为 NOT NULL,而包含具有非空参数的 COALESCE 的表达式将视为 NULL。
Example:
select
coalesce(null, null, 1,2,7) from dual;
>> 1 ;
0 0
- Oracle -- Coalesce
- Oracle COALESCE函数
- oracle--函数COALESCE
- Oracle COALESCE函数
- oracle COALESCE 函数
- oracle 函数COALESCE
- Oracle COALESCE函数
- oracle 中的COALESCE函数
- oracle coalesce函数
- Oracle COALESCE函数
- Oracle COALESCE函数
- oracle 函数大全 之 coalesce
- Oracle COALESCE函数 ISNULL 函数
- oracle中 greatest、east、coalesce
- COALESCE
- COALESCE
- COALESCE
- COALESCE .
- CentOS---网络配置详解
- Cocos2d-x之 CCObject
- __cdecl __stdcall区别
- UVA 11853 - Paintball(dfs)
- 乐元素面试
- Oracle -- Coalesce
- C++ 类非静态成员函数作为线程入口函数实现
- ZOJ Problem Set - 2027
- dbca建库不识别ASM存储
- c++类模板实例化验证
- nyoj15括号匹配(二)
- POJ Gold Balanced Lineup(3274)-神Hash
- 设计模式之(十) Bridge(桥接模式)
- webkit自定义进度条