if i have 1000 records and i want to access 20 ata time
from SQL server, what will be the query?
Answer Posted / arunbhararthi
you can use top keyword to fetch the first 20 records from
sql server.Here is the query for that:
for example:
select top20 empname from emp.
| Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
What is the difference between a default skin and a named skin?
How many types of session in ASP.NET
Write the different features of a Thread and a Process?
What is application variable in asp.net?
What is the difference between stored procedure vs function?
What is GAC in ASP.NET 2.0
Explain the concept of event bubbling in ASP.NET?
What are server-side comments in ASP.NET?
Can we use MSSql as backend in asp.net...if yes then How.?
What is a page life cycle?
Briefly describe the role of global.asax?
How is application management and maintenance improved in asp.net 2.0?
What is http session state?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
When maintaining session through sql server, what is the impact of read and write operation on session objects?