2
Answers

want query in sql server

Imran

Imran

14y
2.4k
1
Hi
I want query which returns the last month from the current date.
for ex: if i enter today date then it should return the 12.
if i enter the date '2010-02-31' then it should return 1

thanks
Answers (2)