最全oracle单行函数之其他函数用法详解

来源:互联网 发布:java导出excel表格方法 编辑:程序博客网 时间:2024/05/21 03:19

函数
说明
nvl(exp1,exp2)如果exp1的值为null,则返回exp2的值,否则返回exp1的值。nvl2(exp1,exp2,exp3)
如果exp1的值为null,则返回exp2的值,否则返回exp3的值。
decode(value,if1,then1,if2,then2,...,else)如果value的值为if1,则返回then1,如果value的值为if2,则返回then2,...否则返回else的值


更多详情地址:http://yayihouse.com/yayishuwu/chapter/980







原创粉丝点击