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
What are the options which must be set to allow the usage of optimistic models?
List the different types of collation sensitivities in sql server?
What are the benefits and tasks of object explorer? : sql server management studio
How to create function with parameter in sql server?
What is the difference between count and distinct count?
Explain the commands in sql server?
What is sql server 2000 work load governor?
Tell me extended events in sql server 2008?
What is coalesce in sql server?
How do you drop an index?
Is oracle faster than sql server?
What is a trigger? Why we need it?
How can you list all the table constraints in a database?
What is the syntax to execute the sys.dm_db_missing_index_details? : sql server database administration
How can I check if a view exists in a sql server database?