ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What are cursors? Name four types of cursors and when each
one would be applied?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are cursors? Name four types of cursors and when each one would be applied?
Answer
# 1
Cursors can be either updateable or non-updateable. If you 
only need to display information and not diddle with it, 
the non-updateable is the fastest. The provider simply 
passes you the data and forgets about it! There is no need 
to keep tabs on the data to see if it has been changed. 
Therefore, this is the fastest cursor to use.



Cursor type

Static cursor. This is the one to use for generating 
reports or finding data. Additions, changes, or deletions 
by other users are not visible

Forward-only cursor. This is the default. It is identical 
to the Static except that you can only scroll forward. The 
fastest cursor this side of the Pecos Mountains.

Dynamic cursor. Additions and deletions by others are 
visible. All movement is supported. But some providers 
don't support this cursor type.

Keyset-driven cursor. This is similar to a Dynamic cursor 
except you can't see records others add. If another user 
deletes a record, it is inaccessible from your recordset
 
Is This Answer Correct ?    0 Yes 0 No
SreyasMN
[Astro Vision Future Tech Pvt Ltd]
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
what is Data Transformation Services (DTS) ?can u explain me in detail? TCS4
Write a query to delete duplicate records in SQL SERVER Infosys16
how to give input dynamically to a insert statement in sqlserver HCL1
What does it mean to have quoted_identifier on? What are the implications of having it off?  1
What types of integrity are enforced by a foreign-key constraint  1
Is it possible to create tables in stored procedures using a variable for the table name?  1
please can anyone answer this query Table 1 has 2 columns: EmployeeId,Age Table 2 has 2 columns: EmployeeId, Region Write SQL to Find the region who has the oldest person  5
What are the different ways of moving data/databases between servers and databases in SQL Server? HCL2
How to find the date and time of last updated table?  3
Can you explain the types of Joins that we can have with Sql Server?  2
How to Get the last identity value used  3
What is lock escalation?  1
Suppose in a situation if two list boxes are there and if you select multiple options based on that the options related to those selected items should display in second list box. Again if we select multiple items in second listbox then the related to those selected items should display . In this scenario how will you design database,tables? HP1
What is RAID and what are different types of RAID configurations? Wipro3
What is the difference between Drop and Truncate  7
What is the datatype returned by count(*) Asian-CERC16
can anyone explain me the concept of Serialization in Detail and Clear? plz its urgent i have interview on friday (15th feb)  1
explain different types of jions with examples briefly? Zensar1
how to find the particular row in table?(means suppose one table contain 10 rows , in these 10 rows how to find the particular row(example in 10 rows i want 5 row how)? Marlabs5
What types of integrity are enforced by a foreign-key constraint  1
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com