Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Aged Yak Warrior
Premature Yak Congratulator
quote:Originally posted by lionofdezertSQL Server 2012 provides more better solutionSELECT *FROM MyTableORDER BY TableColumnFETCH NEXT 10 ROWS ONLY; In prior vesions, you can use CTE (Common Table Expression) to achive this functionality.;WITH CTE (SELECT *, ROW_NUMBER() OVER (ORDER BY TableColumn)AS RowNum FROM MyTable)SELECT * FROM CTE WHWERE RowNum >=1 and RowNum<=11--------------------------http://connectsql.com/