Viewing post 1 (of 1 total)
... or by parameterizing the top statement maybe...
declare @i int
set @i = 1000
select top(@i) * from tablename order by ID
May 26, 2009 at 1:14 am
#999732