Hi All,
Could anyone please help me out. How to query in sql server 2008 to get
top 5 records.
thanks
Return Top Five Recodrs From Table
2422
08-Oct-2010
Updated on 08-Oct-2010
Anonymous User
08-Oct-2010You can select top 5 records from your table by using sql server top(<number of rows>) function.
Here is an example, which selects top 5 records from table student_record.