Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-05-22 : 10:24:11
|
| Quyen writes "How to get number of days in the month ?" |
|
|
Arnold Fribble
Yak-finder General
1961 Posts |
Posted - 2002-05-22 : 11:14:14
|
| DAY(DATEADD(day, -1, DATEADD(month, DATEDIFF(month, '2000-01-01', @dt)+1, '2000-01-01'))) |
 |
|
|
|
|
|