I want to select the last 5 records from a table in SQL Server without arranging the table in ascending or descending order.
When number of rows in table is less than 5 the answers of Matt Hamilton and msuvajac is Incorrect. Because a TOP N rowcount value may not be negative. A great example can be found Here.