Viewing 7 posts - 1 through 8 (of 8 total)
Well, I figured out a way... I created a temp table with the ouput'd Id's, then did a join to the main table...
Thanks to everyone for all the help.....
Mike
July 1, 2005 at 8:41 am
It doesn't matter which of the dupes I show...... Any ideas? This is a one time thing, so it is probably not worth the time to normalize the table.....
Thanks much....
July 1, 2005 at 6:41 am
Is there a way to see the Name though - I need it on the report as well....
Thanks.....
June 30, 2005 at 3:14 pm
Yes I did try your query and it appeared not to work.
Upon closer examination I know why - If the ID is the same but the Name is different it...
June 30, 2005 at 3:08 pm
The table design is:
int ID;
nvarchar Name;
float Sort;
Original Contents:
ID Name SortOrder
--------------------------------
1,Mike,3
1,Mike,7
2,Joe,2
3,Ed,1
4,John,4
4,John,0
The desired output is:
4 John 0
3 Ed 1
2 Joe 2
1 Mike 3
Ordered by "SortOrder", with only 1 value (any 1) of...
June 30, 2005 at 2:50 pm
The desired output is:
4 John 0
3 Ed 1
2 Joe 2
1 Mike 3
Ordered by "SortOrder", with only 1 value (any 1) of "Id" displayed.
June 30, 2005 at 2:46 pm
Didn't work, that returns multiple copies of the records (More than are even in the DB)!
June 30, 2005 at 2:38 pm
Viewing 7 posts - 1 through 8 (of 8 total)