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
What is data source object?
Why is replication required on the sql server?
 Explain what is sql override for a source taLle in a mapping?
how to determine the service pack currently installed on sql server? : Sql server database administration
How to handle error or exception in sql?
How do I setup a local sql server database?
What is the stuff and how does it differ from the replace function?
What is the most common trace flags used with sql server?
Differentiate between SQL and ORACLE joins and write their syntax.
mention different types of relationships in the dbms?
What is cursors?
ow to bring suspect mode datbase online from scratch
Why use identity in sql server?
Mention a few common trace flags used with sql server?
can you implement data mining in SSRS?