我现在想的是主要是获取系统的时间来做判断。我想问下可不可以这样写
select * from table t where sysdate between t.start_time and t.end_time这个sysdate oracle 的内置函数可以写在where条件里面吗?还是sysdate只有在select的里面才有效。
如果不能这么写的话,那我该怎么写来满足要求呢?非常感谢
select * from table t where sysdate between t.start_time and t.end_time这个sysdate oracle 的内置函数可以写在where条件里面吗?还是sysdate只有在select的里面才有效。
如果不能这么写的话,那我该怎么写来满足要求呢?非常感谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货