如何用一句SQL语句实现删除功能?有些难度 用NVL(lastdate,firstdate) 与sysdate比较 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 delete from menu where sysdate = isnull(lastdate,firstdate) + 40/24/60; 可以使用union all连接两个条件 delete from menu where sysdate = decode(lastdate,null,firstdate,lastdate) + 40/24/60; isnull(lastdate,firstdate)是SQL SERVER的语法!在ORACLE是无效的,呵呵 delete from menu where sysdate = nvl(lastdate,firstdate) + 40/24/60; 谢谢各位,综合了各位,经试验下列语句通过delete from menu where sysdate = nvl(lastdate,null,firstdate,lastdate) + 40/24/60 ?nvl(lastdate,null,firstdate,lastdate) oracle 多个表共用序列问题 oracle9i图形界面下创建对象后如何授权?如何建表 oracle 10g web管理控制台 sql 分行查询怎么写?sql语句 subitemlist SQL语句求连续天数 C++连接Oracle,提示找不到某个库 表的自连接问题。 exp备份多表的一个问题 oracle 10G里新建了一个instance, em进不去了。 oracle9.0在xp下安装,要先装什么软件吗? 各位高手,请教有关动态SQL的问题 SQL请教 关于竖列变横列的问题再提
where sysdate = isnull(lastdate,firstdate) + 40/24/60;
使用union all连接两个条件
where sysdate = decode(lastdate,null,firstdate,lastdate) + 40/24/60;
where sysdate = nvl(lastdate,firstdate) + 40/24/60;
delete from menu
where sysdate = nvl(lastdate,null,firstdate,lastdate) + 40/24/60
nvl(lastdate,null,firstdate,lastdate)