Thank you! I missed the TOP clause. It is somewhat counterintuitive, but it IS mentioned in the documentation, though. Do you think that the form
select *, %vid from (select TOP 20 * from UACCESSRIGHT order by RIGHTID) where %vid>=10
(which give the same result) would be more effective?
- Log in to post comments