http://sqlfiddle.com/#!4/843de/2
I try the following code on sqlfiddle, works perfect.
but if i execute one of the following select statements on sqldeveloper...
select * from teldat where datum between to_date('04.08.2011','dd.mm.yyyy') and to_date('30.11.2011','dd.mm.yyyy');
select * from teldat where datum <= to_date('30.11.2011','dd.mm.yyyy');
...the 30.11.2011 is not included.
I don't know what's wrong. Can anybody give me a hint?
Kind Regards
select * from teldat where datum <= to_date('30.11.2011 23:59:59','dd.mm.yyyy hh24:mi:ss');
这对我有用。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.