Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: select question

Re: select question

From: Sybrand Bakker <gooiditweg_at_sybrandb.demon.nl>
Date: Tue, 18 Mar 2003 07:55:24 +0100
Message-ID: <nhgd7v8o0dmglvhhcvush29f2s75o0i2ht@4ax.com>


On Tue, 18 Mar 2003 10:57:39 +0800, "music4" <music4_at_163.net> wrote:

>If you have any idea on this problem, please help me!

cursor ...
select ..
from table
where status = 0
for update of status --- this is the important part.

open <cursor>
fetch cursor into variable
loop
....

update table
-- here is the important part
where current of <cursor>

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Tue Mar 18 2003 - 00:55:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US