Advantages and Disadvantages of Cursor?
Answers were Sorted based on User's Feedback
Answer / vivekanand
Merits: Row by Row Validations, good choice for small set of records
De-Merits: it Increases Network Traffic, result to slowdown the Speed and Performance of the Database,
Consumes More Resources, bad choice for large set of records.
Cheers,Vivekanand
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sandeep singh
Advantages:
Cursors are somewhat like Pointers of Oracle, Oracle executes a query and assign some name to that memory location, which is known as Cursor.
Cursors are used for storing data temperarorily.
Cursors are used for storing, managing and retrieving data.
Cursors stores in the RAM so the data access and retrieval is fast.
Disadvantage:
No such disadvantage. Only thing is that rather than storing data in an intermediate variable and fetching it one by one via cursor and then processing it sequentially, we can use Collections. By using collections, we can pass the bundle of Data at once.
| Is This Answer Correct ? | 3 Yes | 0 No |
as per my Knowledge cursor is data type which is used to
define multivalue variable.if u take int a ,here a is
static variable which hold only one value at a time.in some
situvations we need data type variable which hold
multivalues
if any one find new answer ,send me
nag.mca08@gmail.com
| Is This Answer Correct ? | 28 Yes | 89 No |
What are the features of Embedded SQL
Explain filestream storage of sql server 2008?
How to convert numeric expression data types by assignment operations?
How to name query output columns in ms sql server?
Does view occupy space?
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date
How to drop an existing stored procedure in ms sql server?
What is 1nf normalization form?
What is a non clustered primary key?
If you want to send some data from access database to sql server database. What are different component of ssis will you use?
How to Update from select query in sql server?
How we create SQL Server 2005 Reporting Services ? Give me Sample
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)