GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

cursor-plsql

Souravi Sinha oracle- PLSQL beginner Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

cursor

Implicit Cursor :- %found , %notfound , %isopen , %rowcount.

%isopen always returns "false".

EX-

if sql%found then

total_row :- sql%rowcount;

end if;

explicit cursor

declare EX:-

AS

c_id number;

c_name varchar2;

cursor C is select names from sales where order_id=c_id;

opening cursor and fetching data and closing cusor

Begin

open c;

fetch c into c_name;

close c;

End;

cursor that fetches multiple rows

Begin

open c;

loop

fetch c into c_name;

exit when c%notfound;

<statements>;

end loop;

close c;

End;

Informationen

Beschreibung
beginner oracle- PLSQL Notiz am cursor-plsql, erstellt von Souravi Sinha am 27/02/2016.
Erstellt von
Souravi Sinha
Aufrufe
7
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck