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 |
What is the difference between union and join?
What is strong-typing versus weak-typing?
What is the mvc framework?
What is asynchronous call?
When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To connect to a DB/2 database. c) To connect to an Access database. d) To connect to an SQL 6.5 database.
what are debugging types in .net?
Tell About Global.asax ?
What are the differences between Trace and Debug?
How do we implement bundling in MVC?
What is a reflection?
Difference between datagrid and datareader?
What do you understand by aggregate dependency?