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 |
|
jgrant
Yak Posting Veteran
69 Posts |
Posted - 2007-03-15 : 15:24:51
|
| Declare @StartDate datetimeDeclare @EndDate DatetimeSet @StartDate = dateadd(day, datediff(day, 0, getdate()), 0)Set @EndDate = getdate()The job runs at 11:30 pm so I want the start date to be the same but the time to be equal to 00:00:00.0 When I run the getdate does it also return a time stamp?The Yak Village Idiot |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|