65.9K
CodeProject is changing. Read more.
Home

Get days of a month in SQL

starIconstarIconemptyStarIconemptyStarIconemptyStarIcon

2.00/5 (1 vote)

Jan 23, 2010

CPOL
viewsIcon

8518

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: