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 |
What is recursive join in sql?
what is the difference between char and varchar data types? : Sql dba
what are all types of user defined functions? : Sql dba
what is a composite primary key ? : Sql dba
Explain two easy sql optimizations.
Is t sql a programming language?
Explain alias in sql?
why we go for package? what are the advantages of using instead of seperate procuderes or functions
difference between pl/sql table and normal pl/sql table
Differentiate pl/sql and sql?
what is the difference difference between procedure and packages
2 Answers 3i Infotech, Oracle,
ename empno deptno amar 1 10 akbar 2 20 anthonny 3 30 jonathan 4 40 write a procedure to dispaly the column values ina row separated by a deleimiter eg - input - select ename from emp '|' output - amar|akbar|anthony|jonathan input - select empno from emp '@' o/p - 1@2@3@4 input - select deptno from emp '/' o/p - 10/20/30/40 Pls answer this questn.
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)