difference between imlicit cursor and explicit cursor ?
Answers were Sorted based on User's Feedback
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 |
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 |
implicit: it is generating by sql server.
explicit: it is generating by user.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
implicit cursor is a memory space created by oracle..and
explicit cursor is named memory area
| Is This Answer Correct ? | 0 Yes | 1 No |
When system tablespace is created?
How to display row numbers with the records?
What are the different types of trigger and explain its various uses and functions?
How to define and use table alias names in oracle?
Can we connect to ORACLE db using Windows Authentication?
Give the different types of rollback segments.
What is a Tablespace?
What is an oracle table?
Hi all, Can any one give answer for this question. Suppose im having employee table with fields, eno, ename, dept, address1, address2, address3. In address field employee can fill only address1 or address2 or address3... at a time he can fill three address fields. now i want all employee names who filled only one address field.. Plz its urjent can any one give querry.. Thanks in advance.
How do I reset a sequence in oracle?
What are the oracle differences between nvl and coalesce
Explain a data segment?