Saturday, 13 April 2013

SQL Functions: MONTHS_BETWEEN

MONTHS_BETWEEN
Returns the number of months between two date values. The return value can be negative or positive depending on

Select MONTHS_BETWEEN (end_date,start_date) from emp;

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

ShareThis