关于日期转换的问题 select * from A where to_char(RQ,'yyyy-mm-dd')=substr(str,1,10); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 orselect * from A where trunc(RQ)=trunc(to_date(str,'yyyy-mm-dd hh24:mi:ss')); select * from A where to_char(RQ,'yyyy-mm-dd')=substr(str,1,10); str已经是字符串了,不用再转换了 select * from A where to_char(RQ,'yyyy-mm-dd')=SUBSTRING(CONVERT(char(10), str, 21), 0, 11) 只比较日期的话不如转化成日期型来比select * from A where RQ like to_date(str,'yyyy-mm-dd'); oracle怎么从日志中找到以前执行过的sql? 一个临时表的问题? C#对System.Data的数据类型及Oracle.DataAccess类型,问题 这个update怎么写,麻烦大家!! 求助一条LIKE语句的写法 又一个很菜的问题! 向orcal插入数据,提示ORA-00911,怎么回事啊????????????急!!!!!!!!!!!!!!!!!!!! 安装好oracle后,用system进去,老是提示说tns没有监听,怎么回事?在线急~!!!!!!!!!!!!! 查询效率问题 请问如何在ORACLE8中增加任务? oracle的连接 oracle中的空值,Null怎么理解?
select * from A where trunc(RQ)=trunc(to_date(str,'yyyy-mm-dd hh24:mi:ss'));
select * from A where RQ like to_date(str,'yyyy-mm-dd');