Viewing 15 posts - 3,811 through 3,825 (of 18,926 total)
Canada.
Happy to help.
See how easy it is when you can run the code as posted? That's why we ask for sample data and it takes only 2 minutes to...
August 3, 2011 at 8:02 am
Trying to send the correct code again.
SELECT
*
FROM
dbo.Calendar
WHERE
dt >= DATEADD(D , 0 , DATEDIFF(D , 0 , GETDATE()))
...
August 3, 2011 at 7:55 am
It's just a table I have on my system with all dates. that way I can send tested code.
For some reason the >= and <= signs don't show up...
August 3, 2011 at 7:51 am
Not much.
SELECT * FROM dbo.Calendar WHERE dt >= DATEADD(D, 0, DATEDIFF(D, 0, GETDATE())) AND dt < DATEADD(MM, 3, GETDATE())
Again STOP cross posting.
August 3, 2011 at 7:48 am
Ninja's_RGR'us (8/2/2011)
UPDATE dbo.AnalysisLog SET @Count = Count = Count + 1 WHERE ...
Nevermind that part, I had missed the fact that there's 1 row per date where there's action on...
August 3, 2011 at 7:42 am
I think you missed a typo in your post
AND MG_VSLVOY_SCHEDULE.ARRIVAL_SCHEDULE_DT >= dateadd(mm, -3, getdate())
No more replies here please, continue the discussion here : http://www.sqlservercentral.com/Forums/Topic1153351-149-1.aspx
August 3, 2011 at 7:36 am
You think we'll help more here than on the other thread.???
HELP US HELP YOU.
August 3, 2011 at 7:35 am
GilaMonster (8/3/2011)
You don't need any software at all. Use the windows scheduler.
Go sample backup code for that option? Never tried to make it work that way :ermm:.
August 3, 2011 at 7:32 am
Yes they could.
I've seen a simple 3 left join query kill a decent server on sql 7 by filling up temp db.
The base tables had less than 0.001% of...
August 3, 2011 at 7:31 am
GilaMonster (8/3/2011)
Ninja's_RGR'us (8/3/2011)
August 3, 2011 at 7:28 am
GSquared (8/3/2011)
You can use it easily on an earlier page than the most recent one without...
August 3, 2011 at 7:23 am
Welsh Corgi (8/3/2011)
I hope that someone answers your question soon or you could take a hit for missing ships movement.
No need to add any pressure, I think he feels it...
August 3, 2011 at 7:20 am
SQLkiwi (8/2/2011)
Ninja's_RGR'us (8/2/2011)
The stats will correctly know that 1 and only 1 row or 0) can be returned so that can't possibly be the issue.
Well technically it's not the statistics...
August 3, 2011 at 7:19 am
Viewing 15 posts - 3,811 through 3,825 (of 18,926 total)