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

required to get the records for last 6 months - response (12) by qbeg

$
0
0

Or the same as the Khurram suggested higher, that is:

SELECT top 1000 order_date FROM Database.tablename
where order_date>=(current_date - interval '6' month)
order by order_date

 
Best regards
Peter
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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