fork download
  1. DECLARE  
  2. i NUMBER := 1;  
  3. BEGIN  
  4. LOOP  
  5. EXIT WHEN i>10;  
  6. DBMS_OUTPUT.PUT_LINE(i);  
  7. := i+1;  
  8. END LOOP;  
  9. END;  -- your code goes here
Success #stdin #stdout #stderr 0s 5280KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 1: near "DECLARE  ": syntax error