Viewing 15 posts - 38,791 through 38,805 (of 59,072 total)
COldCoffee (4/20/2010)
Jeff, you really are a wonderful character.. and for paul and karthik, thanks for providing new views and test results.. u guys are simply great.. thanks all 🙂
Shucks. :blush:...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 8:46 pm
Paul White NZ (4/20/2010)
pYak (4/20/2010)
are there any particular cases that you can think of where using the PIVOT operator would be more appropriate?
Not really, no. The PIVOT is shorthand...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 8:41 pm
Bill,
Yeah, at this point, we need some more information. Please post the code for the split function you're actually using so we can check it for errors, the table...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 8:25 pm
dma-669038 (4/20/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 2:32 pm
Tom.Thomson (4/20/2010)
Gianluca Sartori (4/20/2010)
Tom, just out of curiosity, what does your signature mean? I think it's Scot-Gaelic and you look very Scottish (my Scottish uncle could be your lost twin...).
The...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 9:54 am
CirquedeSQLeil (4/19/2010)
WayneS (4/19/2010)
Jeff Moden (4/19/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 7:30 am
pYak (4/20/2010)
I agree with Paul its all about trying different solutions for the same problem.
Absolutely true. "A Developer must not guess... A Developer must KNOW." 😀 That's why...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 7:24 am
karthikeyan-444867 (4/20/2010)
********** COldCoffee's Concatenate and Split solution **********
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 20, 2010 at 7:12 am
Yowch... the formatting monster hit the code hard on this one. I hope Steve can fix it soon.
Glad to see you in the saddle again, Wayne. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2010 at 11:24 pm
gagandeep.singh (4/19/2010)
SELECT T.amount, R.RATE, T.amount * R.RATE AS AMOUNT_CA, trade_date, FWR_DATE, trade_ccy, CCY...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2010 at 11:12 pm
It could be done with a little dynamic SQL provided that either the dynamic SQL was protected from SQL Injection or simply had nothing to do with any external parameters.
But,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2010 at 11:04 pm
The Dixie Flatline (4/19/2010)
Try this:Avg(1.0*pat_count)
Or just Avg(0.0+pat_count) which is just a little less expensive CPU wise.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2010 at 11:00 pm
Heh... can you imagine? Someone calls at 2:00AM with a prank call to ask "Is your refrigerator running?" and when you go to look, the damned thing has taken...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2010 at 10:57 pm
Lynn Pettis (4/19/2010)
I would still like to know which question you were refering to initially.
Yep... me too. If anyone knows the URL, please post it... it appears there may...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2010 at 10:44 pm
Trey Staker (4/19/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2010 at 10:42 pm
Viewing 15 posts - 38,791 through 38,805 (of 59,072 total)