oracle中decode()和nvl()函数的用法
2015-05-12 10:17
447 查看
decode(待比较的对象,如果为这个,那麼结果为这个,否则结果是这个)
nvl (test,1) 判断是否为空,如果为空就取1
select * from 表名 where 1=1 and instr(a,b)>0即可,a,b代表入参,即b在a范围内等
nvl (test,1) 判断是否为空,如果为空就取1
select * from 表名 where 1=1 and instr(a,b)>0即可,a,b代表入参,即b在a范围内等
相关文章推荐
- Oracle 中 nvl、nvl2、nullif、coalesce、decode 函数的用法详解
- Oracle decode和nvl 函数的用法及区别?
- Oracle 中 nvl、nvl2、nullif、coalesce、decode 函数的用法详解
- oracle中的nvl 、nvl2、decode、case when 函数的用法
- Oracle 中 nvl、nvl2、nullif、coalesce、decode 函数的用法详解
- Oracle 中 decode 函数用法
- Oracle 中 decode 函数用法
- oracle NVL、NVL2,、NULLIF、COALESCE函数的用法
- Oracle 中 decode 函数用法
- Oracle 中 decode 函数用法
- [Oracle] decode 函数及其用法
- Oracle 中 decode 函数用法
- Oracle 中 decode 函数用法
- Oracle 中 decode 函数用法
- Oracle 中 decode 函数用法
- Oracle 中 sign和decode 函数用法
- Oracle 中 decode 函数用法(转)
- Oracle 中 decode 函数用法
- oracle里面如何写case语句及decode and sign 函数用法
- Oracle 中 decode 函数用法