What are cursors?
Answers were Sorted based on User's Feedback
Answer / guest
Well cursors help us to do an operation on a set of data
that we retreive by commands such as Select columns from
table. For example : If we have duplicate records in a table
we can remove it by declaring a cursor which would check the
records during retreival one by one and remove rows which
have duplicate values.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / mohsin mohammed abdul
Cursors are the private memory area in the SGA. they store
the result set of a query. And they are used to fetch
multiple rows from the tables in the pl/sql block
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / kuttikrishnan kodoth
if we ant to retrive data from a database table having
duplicate entries which violates primarykey rule
we can handle this case using cursor, it by declaring a
cursor which would check the
records during retreival one by one and remove rows which
have duplicate values. there are many types of cursors to
fetch data in diffrent order like fetch first,fetch
last ,fetct prior,fetch next,fetch abslute n,fetch relative
n
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sathish kumar.t
Cursors is one of the data object which is used to access
and manipulate the datas in the result set.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / srinivas
Cursors are logical areas created on physical areas, i.e.,
tables to find a particular nth record.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vijay dev saxena
Basically cursor in an active dataset depends on query.
it is good to handling set of data.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venkat.bolla
Cursors allow you to take a set of data and process record
by record
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mian ghous
broadly speaking ,,cursor can perfomr operaions on database
much like functions except returning a value i think
| Is This Answer Correct ? | 1 Yes | 2 No |
What is sql injection? How to protect against sql injection attack?
How to find out what is the default collation in a database?
A successfully created SSIS package in SQL Server 2005 runs fine in MS BIDS and Integration Services. But gives error when run through an SQL-Job. What are the possible reasons?
How do I start sql server 2017?
explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?
how can i view structure of table in sql server? tell me that query.
Explain insert into select statement?
What is normalization? Explain its different types?
What is primary key and example?
What is sql stored procedure?
Which index created when Create Index on table(col), Why
What is extended stored procedures?
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)