Viewing 15 posts - 4,921 through 4,935 (of 9,643 total)
You need to be careful when using IF UPDATE() because that will show even if the data has not changed.
Try this:
CREATE TABLE update_test
(
...
June 2, 2009 at 2:58 pm
I'm not promising that this will scale, but it will give the results you require
DECLARE @table TABLE (date DATETIME)
INSERT INTO @table (
date
)
SELECT
'20090112'
UNION ALL
SELECT
...
June 2, 2009 at 2:45 pm
Tom,
Wow, that is a big font, I wonder if it was done intentionally? It hurt my eyes to read it 😛
Here's a blog post by Buck Woody that he...
June 2, 2009 at 2:07 pm
Yes, get the edition you are targeting. You could set the DB in 2005 compatibility mode, but I'd get 2005 Developer. If you have MSDN you can download...
June 2, 2009 at 1:58 pm
In my original post you just need to change the outer DATEADD to be something like this:
DATEADD(Minute, Convert(Int, Right(DateString, 4), Date)
Jeff's code already takes care of it.
June 2, 2009 at 1:56 pm
This is the code that is causing the error:
Case When Valstatus = 'All Data'
Then DateDiff(d, [ConsultantResolved], GetDate()) + DateDiff(d, [AnalystResolved], [ConsultantUnresolved])
...
June 2, 2009 at 12:55 pm
Tom Brown (6/2/2009)
Jack Corbett (6/2/2009)
Steve is getting roasted by Adam Machanic for publishing the article because Adam thinks the concept is crap (My interpretation and summary of what has been...
June 2, 2009 at 12:29 pm
Lynn Pettis (6/2/2009)
Steve Jones - Editor (6/2/2009)
Apparently the debate of the article has spilled onto Twitter where I am now receiving complaints.Fun.
Would it be possible for you to provide more...
June 2, 2009 at 11:48 am
It will definitely be easier to provide a correct solution if you read the article Gail provided, but I do have one recommendation.
Try changing your group by to use:
case n.is_client_conversion
...
June 2, 2009 at 10:09 am
GilaMonster (6/2/2009)
TheSQLGuru (6/2/2009)
June 2, 2009 at 10:02 am
TheSQLGuru (6/2/2009)
June 2, 2009 at 9:55 am
Why do people keep defending that query form even in the face of evidence that it performs terribly?
Because so many people are unwilling to admit that someone else my know...
June 2, 2009 at 9:54 am
I have also used a method similar to Griffster, but instead of adding the AddEvent I just use sp_startjob to run the Report Subscription job. I do not have...
June 2, 2009 at 9:46 am
Roger has the right idea. Using a table control there is no way to dynamically add columns. You can hide columns though.
The matrix control does add...
June 2, 2009 at 9:43 am
Here is a a Connect item about this issue. It doesn't really provide an real answer, but does recommend that you lower the Max Server memory setting to make...
June 2, 2009 at 9:34 am
Viewing 15 posts - 4,921 through 4,935 (of 9,643 total)