By its nature the TOP keyword will not return more than the specified amount even if matching criteria would return more than X unless the "with ties" option is used.create table #foo( recid int, data varchar(20))goinsert into #fooselect 1, 'some stuff'union select 1, 'some other stuff'unionselect 2, 'I like peas'unionselect 3, 'Today is Monday'goselect top 1 * from #foo order by recid -- only one rec despite two lowest id numbersgoselect top 1 with ties * from #foo order by recid -- both returned records returned even though you only asked for one recordgodrop table #foo
"Hit me with a shovel 'cause I can't believe I dug you."