how to retrive only second row from table in sql server
2000?
Answer Posted / ravi148
hi,
dileep is exactly correct , arun .. iam sorry to say ur
wrong
suppose for employee table, write as
DECLARE curTemp SCROLL CURSOR FOR
SELECT TOP 2 * from EMPLOYEE
OPEN curTemp
FETCH LAST FROM curTemp
CLOSE curTemp
DEALLOCATE curTemp
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
define and explain the differences between clustered and non-clustered indexes.
Why do we use stored procedures in sql server?
What is sql server database?
Explain the properties of subqueries in sql server?
If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio
What is 1nf normalization form?
What is "scheduled jobs" or "scheduled tasks"?
Tell me what is log shipping?
How do I find the sql server instance name?
How to drop an existing stored procedure in ms sql server?
What is forward - only cursors / read only cursor?
How to handle error or exception in sql?
What is the current pricing model of SQL Azure?
What is query cost in sql server?
How to copy data from one table to another table?