how to retrive only second row from table in sql server
2000?
Answer Posted / dileep.t
----------------------------------
:), This will also work, without additional columns in
result
---------------------------------
DECLARE curTemp SCROLL CURSOR FOR
SELECT TOP 2 * from <TABLE_NAME>
OPEN curTemp
FETCH LAST FROM curTemp
CLOSE curTemp
DEALLOCATE curTemp
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
Explain forward - only cursors?
When to use null data driven subscription?
What are the advantages dts has over bcp?
how you can configure a running aggregate in SSRS?
What are the different normalization forms?
What is default constraint?
What is sharding?
What is temporal table?
When does a workload on SQL Azure get throttled?
what are the different ways to return the rowcount of a table?
What is a rownum?
What are the types of processing and explain each? : sql server analysis services, ssas
What is the difference between TRUNCATE and DROP?
What are the 3 types of schema?
Explain transaction server auto commit?