How to select nth record from a table?
Answer Posted / pravin s. ahire
Select Top 1 *
From (Select Top N * from tablename order by
table.ColumnName desc)
-- where N = nth record
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is key set driven?
Explain about system stored procedure?
What are the steps to insert a table?
Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?
Can you explain what are commit and rollback in sql?
How to get a list all databases on the sql server?
Is it possible for a stored procedure to call itself or recursive stored procedure?
Explain what is dbcc?
What's the information that can be stored inside a bit column?
how can a database be repaired? : Sql server administration
What is the name of reporting services config file and what’s it’s used for?
What are trace flags?
Difference between DELETE and TRUNCATE?
How to get a list of columns using the "sys.columns" view in ms sql server?
What is use of except clause?