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 |
|
yaman
Posting Yak Master
213 Posts |
Posted - 2008-06-26 : 02:17:55
|
| Sir I want to FInd First date of LAst Mont and Last date Of Last Month .Yaman |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-06-26 : 02:25:09
|
| SELECT DATEADD(mm,DATEDIFF(mm,0,GETDATE())-1,0) AS LastMonthStart,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)-1 AS LastMonthEnd |
 |
|
|
yaman
Posting Yak Master
213 Posts |
Posted - 2008-06-26 : 02:59:25
|
| Thank You Sir Yaman |
 |
|
|
|
|
|