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

Answer Posted / prabhat sharma

select top 1 * from xyz where rno > (select top 1 rno from xyz)

rno is a column name and xyz is a table name

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what is normalization of database? What are its benefits?

561


What are the differences between char and nchar in ms sql server?

537


How to recover from sql injection? : sql server security

522


In which tcp/ip port does sql server run? Can it be changed?

546


how to define testing of network layers? : Sql server database administration

495






What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

727


Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?

504


What is acid properties?

597


what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration

560


How to use transact-sql statements to access the database engine?

539


What is model database in sql server?

573


How do you delete a trigger?

584


What is 5nf in normalization form?

573


How to stop a loop early with break statements in ms sql server?

571


What are cascading parameters in ssrs reports?

176