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

Answer Posted / shashikant

select min(id) from cms_dfm where id in (SELECT TOP 2 ID
from CMS_DFM Order by
ID desc)

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if time-only values are provided as date and time literals?

530


Explain active/passive and active/active cluster configurations?

630


Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)

1436


Are there issues when exporting SSRS reports into Microsoft Excel? When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be?

134


can you instantiate a com object by using t-sql? : Sql server database administration

521






What are the main sources of data?

596


What is the sql case statement used for?

559


What is a hint?

582


Where sql server user names and passwords are stored in sql server? : sql server database administration

581


What is normalization of database?

599


What is the stuff?

527


What are the recovery models for a database?

617


What are sub reports?

151


What are the ways available in sql server to execute sql statements?

570


what is an extended stored procedure? : Sql server database administration

501