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 |
|
sent_sara
Constraint Violating Yak Guru
377 Posts |
Posted - 2008-08-28 : 04:03:30
|
| can i any one tell how t find the no of days there for a month with the getdate() |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-08-28 : 04:22:10
|
select datepart(day, dateadd(month, datediff(month, 0, getdate()) + 1, -1)) KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
|
|
|