今天开发时遇到一个oracle函数nvl2,功能和nvl类似,如下:

nvl2(e1, e2, e3)的功能为:如果e1为NULL,则函数返回e3,若e1不为null,则返回E2。

nvl( string1, replace_with)功能为:如果string1为NULL,则NVL函数返回replace_with的值,否则返回string1的值。

decode(value,if 条件1,then 值1,if 条件2,then 值2,...,else 其他值)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-03-01
  • 2022-12-23
  • 2021-06-11
  • 2021-11-25
  • 2021-09-24
  • 2022-02-28
猜你喜欢
  • 2022-02-22
  • 2018-12-13
  • 2021-06-13
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
相关资源
相似解决方案