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 a full join?
What are aggregate and scalar functions?
What are expressions?
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
What is sql architecture?
Is primary key clustered index?
what is bcp? When does it used? : Sql dba
What are the set operators in sql?
Explain the difference between triggers and constraints?
What is meant by temporal data?
what is explain plan?, given an example...
how to load data files into tables with 'mysqlimport'? : Sql dba