To find the number of month between two dates of month in SQL Server

Amatya
Posted by Amatya under Sql Server category on | Points: 40 | Views : 1107
To find the number of month between two dates of month in SQL Server

 Select SDate, EDate,MONTHS_BETWEEN(EDate,SDate) 
MDuration from tblTime;


Thanks.
Amatya

Comments or Responses

Login to post response