|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi,
how can i forcefully move to the next record.. example... fetch .... loop if condition satisfies move to next record end if stmt 1; stmt 2; end loop |
|
#2
|
|||
|
|||
|
try PL/SQL
Code:
DECLARE
cursor main is
select flda, fldb from mytable;
BEGIN
FOR x in main
LOOP
IF x.flda!='13'
EXIT;
END IF;
/* do something with x.flda */
END LOOP;
END;
/
|
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > cursor in loop |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|