Viewing 15 posts - 12,406 through 12,420 (of 18,923 total)
Yes you do, you won't know which one will be returned without the top 1.
October 25, 2005 at 8:05 am
The width of the table.. not the text in the variable!!!
October 25, 2005 at 7:49 am
That's almost like a cheap shot, ain't it?
October 25, 2005 at 7:48 am
We still can't do squat without the sample data and required output. Do you want help or not???
October 25, 2005 at 7:47 am
That's why I had the walls painted yellow here... I can just write straight on them without anyone noticing
.
October 25, 2005 at 7:30 am
Shouldn't be too hard for a DBA
.
October 25, 2005 at 7:24 am
Browse the forums, there's another search feature in there.
October 25, 2005 at 7:15 am
This still can be optimized a lot... the first 3 subqueries could be turned in a single derived table, then I should probabely read the rest of this monster
October 25, 2005 at 6:40 am
Still using the bulldozer approach???
What are the possible range of values for each parameter?
Do you need to have them converted into columns or a batch of rows?
October 25, 2005 at 6:34 am
Why not make a 4th table that would keep the kits, and then do the sum based on a kit?
October 24, 2005 at 9:52 pm
This is still all missing.
- Table definitions
- sample data
- wrong resultset
- expected resultset
Also expect to have to...
October 24, 2005 at 2:24 pm
Maybe you can give him what he wants (or else give him what he needs). Maybe you can give him 2 different reports (assuming those are just flag bits)....
October 24, 2005 at 2:07 pm
Select the data you need with the group by (without the next 7 columns). Make that a derived table and rejoin back to the base table and then include...
October 24, 2005 at 1:42 pm
Viewing 15 posts - 12,406 through 12,420 (of 18,923 total)