if i have 1000 records and i want to access 20 ata time
from SQL server, what will be the query?
Answer Posted / rasbeer
Declare @PageIndex int
set @PageIndex=2
select top 20 * from
(select top 20 * from
(select top (@PageIndex*20) * from chat_contents order by
id ) as a1
order by id desc)as b1 order by id
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What parameters can you pass in the url of the api? Can get and post use the same url?
Can you explain architecture of your project ?
Explain an object, class and method.
Which is faster viewbag or viewdata?
What are the security types in ASP/ASP.NET? Different Authentication modes?
Is data edited in the Repeater control?
What is session id in web application?
What is a web api?
Define xmlvalidatingreader class.
what are configuration files?
What do you mean by query string?
How can we implement a identity (sql server) call in an asp.net page?
Explain the different types of directives in .net?
How do I send an email message from my ASP.NET page?
Explain the asp.net session state modes.