Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
Les 07

Les 07

Ratings: (0)|Views: 143 |Likes:
Published by alaasamak

More info:

Published by: alaasamak on Jun 20, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

12/24/2012

pdf

text

original

 
7
Copyright © 2006, Oracle. All rights reserved.
Using Explicit Cursors
 
 
7-2Copyright © 2006, Oracle. All rights reserved.
Objectives
After completing this lesson, you should be able to dothe following:
Distinguish between implicit and explicit cursors
Discuss the reasons for using explicit cursors
Declare and control explicit cursors
Use simple loops and cursor 
FOR 
loops to fetchdata
Declare and use cursors with parameters
Lock rows with the
FOR 
 
UPDATE
clause
Reference the current row with the
 WHERE
 
CURRENT
 clause
 
7-3Copyright © 2006, Oracle. All rights reserved.
Cursors
Every SQL statement executed by the Oracle server has an associated individual cursor:
Implicit cursors: Declared and managed byPL/SQL for all DML and PL/SQL
SELECT
 statements
Explicit cursors: Declared and managed by theprogrammer 

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
Tha Best liked this
jayavardhankoti liked this
Harsh Damania Hd liked this
jitendra_mawai liked this
m4mayank liked this
Madhuri liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->