difference between imlicit cursor and explicit cursor ?

Answers were Sorted based on User's Feedback



difference between imlicit cursor and explicit cursor ?..

Answer / vsubbaiah

Implicit : Every SQL Statement performed as implicit cursor. Ex: Select * from Emp where empno = 7839 This is query automatically open the cursor and fetch the record getting the output of that record.

Explicit : In PLSql Block in we declare on declaration section we declare with name and select statement. In executable block we call the cursor and fetch the records more the one. For Ex : Declare
cursor c1 is select * from emp
getemp c1%rowtype;
begin
open c1;
loop
fetch c1 into getemp;
dbms_output.put_line (c1.col list);
end loop;
close c1;
end; This is explicit cursor

Is This Answer Correct ?    4 Yes 0 No

difference between imlicit cursor and explicit cursor ?..

Answer / vipin kumar ( m.c.a)

1. Implicit cursor:- means predefine cursor. Its attributes
starting with the sign % like that %ROWCOUNT, %ISOPEN etc.
2. Explicit cursor:- means created by the user or
programmer. Its attributes starting with the cursor name
then % sign lick that cursorname%ROWCOUNT, cursorname%ISOPEN
etc.

Is This Answer Correct ?    0 Yes 0 No

difference between imlicit cursor and explicit cursor ?..

Answer / harsha vardhan reddy

implicit: it is generating by sql server.

explicit: it is generating by user.

Is This Answer Correct ?    0 Yes 0 No

difference between imlicit cursor and explicit cursor ?..

Answer / kiran

implicit generated by oracle server

explicit manually created by programmer to store the result
in the temporary space

Is This Answer Correct ?    0 Yes 0 No

difference between imlicit cursor and explicit cursor ?..

Answer / abhishek.421

implicit cursor is a memory space created by oracle..and
explicit cursor is named memory area

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle General Interview Questions

Explain about the analyze command in oracle?

0 Answers  


1.how to extract the second highest salary from emp table having sal as a column which contains the salary of all employee of an organisation.

6 Answers  


what is the use of composite key constraint?

2 Answers  


What is meant by recursive hints ?

1 Answers  


Explain what are the type of synonyms?

0 Answers  






What are the commands youd issue to show the explain plan for select

2 Answers  


what is view?

7 Answers   Accenture,


How do you bind variables in oracle?

0 Answers  


You create a private database link and upon connection, fails with: ORA-2085: connects to . What is the problem? How would you go about resolving this error?

1 Answers  


What are the different pseudo commands? Explain in general?

0 Answers  


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

0 Answers  


How to write a query with a left outer join in oracle?

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)