Viewing 15 posts - 886 through 900 (of 4,081 total)
There is no significant difference in execution plans between GROUP BY and DISTINCT. Each produces a list of unique values, DISTINCT just doesn't require that...
December 21, 2011 at 6:54 am
Whups. What I meant to say was country foundries. They even deliver mail to rural metal casters.
December 20, 2011 at 8:16 am
Another thing to remember (in the U.S. at least) is that zip codes can also span city boundaries and even county boundaries. It's not a 1-1 relationship. ...
December 19, 2011 at 11:16 pm
I've actually worked on an IBM system that processed 96-column punched cards. Not eighty, 96. They were about the size of a zip...
December 19, 2011 at 11:07 pm
Howard, a couple of quick questions:
(1) Is there a maximum distance from a customer to a store? If they live in rural Alaska, do you ever...
December 12, 2011 at 6:20 am
You're welcome. Let us know if you have any questions.
December 7, 2011 at 10:49 am
A simple crosstab should work. I'm typing this freehand, so apologies in advance for any errors.
select team
,max(case when rotation = 'Primary' then person else null end) as...
December 5, 2011 at 9:46 pm
Nico, I didn't intend to insult you personally. I'm sure you are a bright guy like most everyone else who hangs out here.
And yet, your...
December 5, 2011 at 9:37 pm
Whups, sorry Ninja. I just read back and saw where you had already dealt with it.
December 4, 2011 at 7:07 am
nico van niekerk (12/2/2011)
December 4, 2011 at 7:05 am
It would be nice to know the nature of what the dynamic code does, so we could completely understand the problem, but here are a couple of thoughts to maybe...
November 29, 2011 at 8:12 pm
A good carry-away lesson from this is that set-based solutions are possible, even easy, whenever you can define the sets properly. The failed solution I attempted treated...
November 29, 2011 at 2:10 pm
Drew that's elegant. Simple and effective. Applause, thunderous applause.
Your insight that the relative order of the remaining prods and the remaining slots would...
November 29, 2011 at 1:38 pm
Halford, I'm sorry but I couldn't make it work. You're going to need a loop, a cursor, or a recursive cte.
Anyone else who wants to try should...
November 28, 2011 at 9:25 pm
I see the problem and I think I understand where you are going with your proposed solution. It may not be possible to do this without some...
November 28, 2011 at 5:30 pm
Viewing 15 posts - 886 through 900 (of 4,081 total)