how to retrive only second row from table in sql server
2000?

Answer Posted / surenda tarai

select top 1 * from(select top 3 * from tablename order by 1
asc) as at order by 1 desc

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between sdf and mdf?

680


How can we determine what objects a user-defined function depends upon?

524


Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?

555


how will add additional conditions in sql?

576


Explain throw statement in sql server 2008?

583






What are the new features in sql server 2016?

550


What is the Control Flow in SSIS

580


Tell me what is use of except clause? How it differs from not in clause?

518


What is the full meaning of dml?

533


How to enter unicode character string literals in ms sql server?

579


What happens when unicode strings concatenate with non-unicode strings?

552


How to replace null values in expressions using isnull()?

649


Explain what is analysis service repository?

538


What do mean by xml datatype?

621


What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?

565