Click here to Skip to main content
Click here to Skip to main content

Tagged as

Get days of a month in SQL

, 3 Feb 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
select days_of_month=day(dateadd(mm,-1,'12-feb-2010'),-1) :laugh:
select days_of_month=day(dateadd(mm,-1,'12-feb-2010'),-1)
Laugh | :laugh:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

rajivlipu
Software Developer (Junior) LUCID INFOTECH
India India
No Biography provided

Comments and Discussions

 
QuestionWhat is that? PinmemberPeterMoon23-Jan-10 9:05 
QuestionElaborate? Pinmemberaspdotnetdev23-Jan-10 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 3 Feb 2010
Article Copyright 2010 by rajivlipu
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid