Home Forums Article Discussions Article Discussions by Author Discuss Content Posted by Dinesh Asanka Find Min/Max Values in a Set RE: Find Min/Max Values in a Set
Razvan Socol
SSCarpal Tunnel
Points: 4811
More actions
November 21, 2003 at 8:28 am
#483124
Adrian,
Your solution would be more elegant indeed, but it doesn't work.
Unfortunately, the TOP keyword accepts only a constant, not a variable.
Dinesh,
Indeed, I would not add an index to a Qty column.
Razvan