How to retrieve range of 10th rows to 20 th rows from total
rows from a database table.? (Not from Dataset)
Answer Posted / x.cannon
SELECT * FROM
(
SELECT NTILE(2) AS div, * FROM
(
SELECT TOP(20) FROM <table_name>
) AS tmp
) AS tmp WHERE div = 2
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration
Differentiate between SQL and ORACLE joins and write their syntax.
Explain what is dbcc?
How do you know if sql server is running on your local system?
What is the difference between push and pull subscription? : sql server replication
What is the purpose of floor function?
Which sql server table is used to hold the stored procedure scripts?
Which joins are sql server default?
What is the difference between migration and upgradation in sql server?
What is table constraint?
Can we run Reporting Services with SQL Server express edition, which is a free version of SQL Server?
Why use “nolock” in sql server?
Explain trigger and its types?
How do I debug a stored procedure in sql server?
What are the different Authentication modes in SQL Server and how can you change authentication mode?