Viewing 15 posts - 30,091 through 30,105 (of 59,101 total)
declare @todate datetime
select @todate = '09/30/2010'
SELECT FiveYearsPrevious = DATEADD(yy,-5,@todate)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 9:49 pm
opc.three (5/11/2012)
Jeff Moden (5/11/2012)
Do you have any performance metrics for this, Orlando?
I do not, but I would be happy to mock up some test data and run some tests. I...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 9:07 pm
Lynn Pettis (5/11/2012)
Jeff Moden (5/11/2012)
Lynn Pettis (5/10/2012)
Jeff Moden (5/10/2012)
So much time wasted.
Maybe, but it is my time to waste. I'm not going to apologize for hoping against hope for...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 8:50 pm
opc.three (5/11/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 7:35 pm
vahid.arr (5/10/2012)
select
SUM(isnull([TedadTarhModiriatTafzili],0))as TedadTarhModiriatTafzili
, SUM(isnull([TedadTarhModiriatJame],0))as TedadTarhModiriatJame
, SUM(isnull([TedadKhodro],0))as TedadKhodro
, SUM(isnull([TedadMotorcycle],0))as TedadMotorcycle
, SUM(isnull([TedadGhayegh],0))as TedadGhayegh
, SUM(isnull([TedadBisim],0))as...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 8:53 am
Lynn Pettis (5/10/2012)
Jeff Moden (5/10/2012)
So much time wasted.
Maybe, but it is my time to waste. I'm not going to apologize for hoping against hope for the best. I...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 8:44 am
opc.three (5/10/2012)
Lynn Pettis (5/10/2012)
Jeff Moden (5/10/2012)
So much time wasted.
Maybe, but it is my time to waste. I'm not going to apologize for hoping against hope for the best. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 8:43 am
Gullimeel (5/11/2012)
(
select id,max(case when cd = 'A' then 1 else 0 end) + max(case when cd = 'B' then 2 else 0 end) + max(case when cd...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 8:37 am
True ernough but if it were only 4 or 5 people who wanted a single spreadsheet, it wouldn't really be a problem, would it? The real problem is that...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2012 at 8:34 am
OH! THOSE rabbits! Yeah... they went screaming by yelling something about a tent in the desert.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2012 at 7:07 pm
Didn't look to see if it was mentioned before but one sure fire way to increase the performance here would be to use UNION ALL instead of UNION. UNION...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2012 at 7:01 pm
Because tyou can't do much with null.
What do you want it to return? 0? If so, wrap each SUM in an ISNULL.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2012 at 6:55 pm
The very last option is one of the best options IMHO. Even though it requires extra infrastructure, it will give the users a recent copy of production where they...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2012 at 6:50 pm
So much time wasted.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2012 at 6:22 pm
AShehzad (5/9/2012)
I...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2012 at 6:01 pm
Viewing 15 posts - 30,091 through 30,105 (of 59,101 total)