Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11212

Re: how to compare timestamp and datetime?

$
0
0

Hello Santosh,

 

Have you tried to convert the timestamp to date in the query? Like this,

TO_DATE(TO_CHAR(TRX_DATE_TIME,'YYYY-MON-DD HH24:MI:SS'),'YYYY-MON-DD HH24:MI:SS')>= FROM_DATE and TO_DATE(TO_CHAR(TRX_DATE_TIME,'YYYY-MON-DD HH24:MI:SS'),'YYYY-MON-DD HH24:MI:SS')<=TO_DATE

 

Hope this helps.

 

Regards,

George


Viewing all articles
Browse latest Browse all 11212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>