六狼论坛's Archiver
首页
›
Oracle
› 复杂的SQL语句
hulu26
发表于 2013-1-14 08:44:50
复杂的SQL语句
--select 语句中执行判断
select sysdate,case trunc(sysdate) when
to_date('2012/10/25','YYYY/MM/DD') then 'YES'
else 'NO' end as result
from dual;
页:
[1]
查看完整版本:
复杂的SQL语句