Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
want query in sql server
Imran
14y
2.4k
1
Reply
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
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
t-sql 2005 sql question
get records between start day of a month and end day of the month