语法如下:
DECODE(value, if1, then1, if2,then2, if3,then3, . . . else )
eg:DECODE(VALUE,‘0’,‘1’,‘2’)
若value为0,则为1,否则为2
DECODE用法
最新推荐文章于 2025-05-14 09:00:04 发布
语法如下:
DECODE(value, if1, then1, if2,then2, if3,then3, . . . else )
eg:DECODE(VALUE,‘0’,‘1’,‘2’)
若value为0,则为1,否则为2