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

ADD_MONTHS vs INTERVAL - forum topic by bikky6

$
0
0

Please let me know the exact difference between using INTERVAL and ADD_MONTHS
SEL CAST('2013-08-29' AS DATE ) -INTERVAL '6' MONTH
returns Invalid Date

SEL ADD_MONTHS(CAST('2013-08-29' AS DATE ),-6)
returns 2013-02-28
Regards
KVB

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>