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

Need help with selecting distinct event date within last 180 days - response (5) by WAQ

$
0
0
First of all correct this statement in the query: B.CreatedDate Between 'Jan 10 2009' AND 'Nov 06 2012'You are not comparing createdDate with the actual DATES. Cast Jan 10 2009 and Nov 06 2012 to date and then see if it works.

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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