Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

RE: Specific Dates - No Result

$
0
0

In the WHERE, change AND to OR.

If that still does not work, it could be the formatting of the date value.  This can change depending upon the type of database being used.

I connect to an Oracle database, my dates have to be formatted like this:

DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID = TO_DATE ('2017-01-19 00:00:00', 'yyyy/mm/dd hh24:mi:ss')

Sometimes it wants it this way... DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID BETWEEN ('2017-01-12 00:00:00' AND '2017-01-19 00:00:00')


Viewing all articles
Browse latest Browse all 2544

Trending Articles



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