Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Filter on two separate date field ranges using between function - response (3) by M.Saeed Khurram

$
0
0

You can use the following SQL

Where 
C.pmt_last_upd_dt = B.b_a_added_date AND
(C.pmt_last_upd_dt between '2013-07-01' AND current_date 
AND B.b_a_added_date between '2013-07-01'AND current_date)

This is what you want? Else please add more description of your scenario.
 
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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