what is the cursor
Answer / om shivaya namaha
Cursors are used to fetch the records row by row data in a
table but get the data very fast by using the cursors it is
very useful if the table contains few records in a table but
will create a performance isses if the table contain lot of
records
create cursor cursorName for
select EmpId,EmName from Employees
open cursor
while (@@FetchStatus==0)
begin
fetch next from cursorName into @EmpId , @EmName
select * from Employee where empid=@empid
end
close cursor
Is This Answer Correct ? | 24 Yes | 0 No |
Can you store dataset in viewstate?
What is X-Path?
How to do Forms authentication in asp.net?
Explain what is an abstract class?
What is the use of SmartNavigation property?
Explain the updatepanel?
what is the difference b/w .net 1.1 and 2.0 ?
What are the asp.net objects? is it application obects, cache objests etc. or is it state managements, web services etc?
What are the different types of Session state management options available with ASP.NET?
Usage of web.configuration ?
Define the types of configuration files.
What is the use of directives & explain with example?