what are the different types of cursors? explain?

Answers were Sorted based on User's Feedback



what are the different types of cursors? explain?..

Answer / srilakshmi paleti

1)Implicit cursor
2)Explicit Cursor

EXPLANATION OF
1)IMPLICIT CURSOR : When ever user performs any DML
operation automatically implicit cursors will raise. User
noneed to create,open,fetch,close the cursor.In PLSQL
select statement also it will work.

2)EXPLICIT CURSOR: User has to create,open,fetch and close
the cursor.

Is This Answer Correct ?    5 Yes 0 No

what are the different types of cursors? explain?..

Answer / amit basu

Types of Cursor :

I) Implicit

II) Explicit (Explicit cursor has three sub-types)

1) Simple Cursor

2) Parameterised Cursor

3) Reference Cursor

EXPLANATION OF

I) Implicit--- SINGLE USER ONLY

II) Explicit ----- MULTI USER ONLY

Is This Answer Correct ?    2 Yes 1 No

what are the different types of cursors? explain?..

Answer / mohan

Cursor: Cursor is a pointer which is used to fetch one by one record from active set into plsql block.

Types: There are two types of cursors we have in plsql.
they are,
1. Implicit Cursors
2. Explicit cursors

1.Implicit cursors: when ever we perform sql operations then automatically implicit cursors will come into the picture. no need to declare,open,fetch and close implicit cursors.

2.Explicit cursors: These are user defined cursors. we have to declare,open,fetch and close these cursors.

Cursor Attributes:
1.%found
2.%notfound
3.%isopen
4.%rowcount

Is This Answer Correct ?    2 Yes 1 No

what are the different types of cursors? explain?..

Answer / manish kumar

Implicit cursor is declered by System its own But Explicit
cursor is declered by user

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Oracle General Interview Questions

1. Display all the rows and columns in the CLIENT table. Sort by client name in reverse alphabetical order.

2 Answers   Wipro,


How do I start tns listener?

0 Answers  


How to open a cursor variable?

0 Answers  


Do View contain Data ?

10 Answers  


What are the differences between a sys and system user and what are the extra privileges available to the sys user?

1 Answers   Wipro,






What is the difference between PFILE and SPFILE in Oracle?

0 Answers   MCN Solutions,


Why is oracle database so popular?

0 Answers  


What do you know about normalization? Explain in detail?

0 Answers  


master table and child table performances and comparisons in Oracle ?

0 Answers  


How do I know if oracle is installed on windows?

0 Answers  


18. Display the clientno and total value for all orders placed by that client. Output the result in the following format: Client <clientno> has placed orders to the value of <total value>

2 Answers   Wipro,


Hi friends can u send the oracle 9i full version download link?????????????? please reply ?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)