Viewing 15 posts - 1 through 15 (of 73 total)
I don't see how revealing salaries will ever not cause resentment. But openly publishing pay bands and average pay ranges gives something for people to achieve. I work...
January 22, 2009 at 8:16 am
I've been caught out by the multiple answer thang before - but never again!
This argument over lost points is hiding how good a question this is. Who at MS...
August 8, 2008 at 3:59 am
Good question, the bitwise XOR ^ made this a school day for me (always good). Once I took out the -17 it became clear that sqrt (n^n) (n is...
August 7, 2008 at 9:42 am
Oh and I've not done anything to help if the 5th and 6th values are tied.
If you have a tie for fifth:
insert into @T_OrderHeader (ShipCountry, OrderTotal) values ('Russia', 16.09)
Sql 2005...
August 7, 2008 at 9:19 am
There are alternatives:
Build a temp table with the 5 values, then insert the 'others' row and you have a table with 6 rows that you can order and report on...
August 7, 2008 at 9:13 am
The only difficulty with the union is that if the others total is more than, say, the fifth highest then it will appear above it unless you use a contrivance...
August 7, 2008 at 9:10 am
That is an interesting query, I guess that you want:
Number1 Actual value
Number2 Actual value
Number3 Actual value
Number4 Actual value
Number5 Actual value
Others Total of values...
August 7, 2008 at 8:53 am
Could you check the code, what's the datatype for @Xml on line 3?
August 7, 2008 at 8:48 am
There is also a circle of hell reserved for people who are composing posts that are made obsolete by people trying to avoid previously mentioned circles.
August 7, 2008 at 8:44 am
I think the consensus is that a left outer join will solve this problem, here is an example - is it of any use? Remember there is a circle...
August 7, 2008 at 8:41 am
Express is missing some data moving features. Certainly the ones available on right click.
I don't have Express at work (only home) so I can't check, but I...
August 6, 2008 at 10:39 am
I thought that the question was a bit vague and would have been fairer (not necessarily any more accurate) as two questions; splitting up the seeded and non-seeded bits. ...
August 6, 2008 at 10:28 am
Viewing 15 posts - 1 through 15 (of 73 total)