what are the advantages of cursors than procedures?
Answers were Sorted based on User's Feedback
Answer / kumar srinivasalu
Cursors can be used to pass the parameters to procedures
and functions. The Single cursor used to multiple
updatation and used multiple queries at run time
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / somashekhar m
By using cursors It is possible to fetch row by row, when
user might want to work with rows one at a time. But not
possible with SQL standard statements it is not possible to
go row by row fetching.
A cursor can be defined as is a set of rows together with a
pointer that identifies a current row.
in ACID cursor works for consistency of the data.
| Is This Answer Correct ? | 12 Yes | 2 No |
Mention what plvcmt and plvrb does in pl/sql?
can we delete the trigger in a view? if yes why if not why?
Hello All, Could any well write a query for the following scenario. Account(table name) No Name Amount 1 ABCD 2000.00 2 DEFG -2000.00 3 GHIJ 3000.50 4 JKLM 4000.00 5 MNOP 6000.00 O/p Should be in this format No Name Credit Debit 1 ABCD 2000.00 0 2 DEFG 0 -2000.00 3 GHIJ 3000.50 4 JKLM 0 -4000.00 5 MNOP 6000.00 o could any one give appropriate query for this Thnks in Advance
How do I count rows in sql?
Why stored procedure is faster than query?
What is cursor and why it is required?
What is Overloading of procedures ?
can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba
how can I make a script that can be bi-language (supports english, german)? : Sql dba
how to calculate the difference between two dates? : Sql dba
how many columns can be used for creating index? : Sql dba
Does mysql support pl sql?
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)