how to retrive only second row from table in sql server
2000?
Answer Posted / suresh
Hi,
select top 1 * from (SELECT TOP 2 * from emp) A Order by
empno desc
Is This Answer Correct ? | 16 Yes | 9 No |
Post New Answer View All Answers
What is a trace frag?
What are the types of stored procedures in an sql server?
Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?
How to convert character strings into numeric values?
How you can move data or databases between servers and databases in sql server?
What is snapshot report?
Does view occupy space?
If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?
What are the components of dbms?
Is foreign key a primary key?
What are the parts of a function?
What is save transaction and save point?
What is @@error in sql?
What is sleeping status in sql server?
code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that