SQL >> Database teknologi >  >> RDS >> Oracle

'CONTINUE'-nøgleordet i Oracle 10g PL/SQL

Du kan simulere en continue ved at bruge goto og labels.

DECLARE done BOOLEAN; BEGIN FOR i IN 1..50 LOOP IF done THEN GOTO end_loop; END IF; <<end_loop>> -- not allowed unless an executable statement follows NULL; -- add NULL statement to avoid error END LOOP; -- raises an error without the previous NULL END; 
  1. En parser til Oracle SQL

  2. Kan man definere Oracle Database object types i PL/SQL?

  3. Oracle PL/SQL-strengsammenligning og problemet med tom streng

  4. Skråstreg eller ej? En opfriskning af SQL*Plus