Skip to content
Advertisement

Month difference between two dates in sql server

Please refer the below examples and kindly let me know your ideas.

Output = 3 expected output = 2.5

Since I have only 15 days in Nov, So I should get 0.5 for Nov

Advertisement

Answer

Try this

OR

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement