怎样在SQL语句中把当前时间和字段里的时间进行比较? update tablename set state=1 where to_char(时间字段,'yyyy-mm-dd')=to_char(sysdate,'yyyy-mm-dd') 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update table_name set state=1 where to_char(updatefield,'yyyymmdd')=to_char(sysdate,'yyyymmdd'); update tbname set state=1where trunc(col_date)=trunc(sysdate); 关于mysql的一个对表分区的基本问题,大家进来看看。 求一条sql 最高及最低 求一条SQL语句 简单问题送分!!!!!!!!!!!!!! oracle 分布式处理的问题 插入远程服务器表记录错误 求教怎样转换字符几。。 请问 在ORACLE8怎么使用数组!!!!急. 急.. ORACLE 查询 关于新建触发器的问题 有关安装oracle的问题。这是为什么? 求条sql语句~ 如何获的一个表中的第15到第40条数据?
to_char(updatefield,'yyyymmdd')=to_char(sysdate,'yyyymmdd');
where trunc(col_date)=trunc(sysdate);