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

Filter on two separate date field ranges using between function - forum topic by j1eggert

$
0
0

Need help with Where clause to filter on two separate date fields.  Both have the same date ranges.  Please see the code below. 
Where
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
) with data primary index (customer_id, sndr_id, b_a_customer_id, ach_nf_txn_amt_sum, ach_nf_txn_cnt, b_a_added_date, pmt_last_upd_dt, ach_country, trans_amt_usd);
 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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