if your SQL server cannot run Select TOP 10 from table_name
please use :
SET ROWCOUNT 10 will limit the number of rows SQL Server returns to 10.
To turn it off, SET ROWCOUNT 0.
e.g
SET ROWCOUNT 10
select * from lusr_tbl
SET ROWCOUNT 0
Saturday, November 13, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment