fork(1) download
  1. DECLARE
  2. A number;
  3. B number;
  4. BEGIN
  5. A:=&a;
  6. B:=&b;
  7. IF (A>B) THEN
  8. dbms_output.put_line('A IS LARGEST');
  9. ELSE
  10. dbms_output.put_line('B IS LARGEST');
  11. END IF;
  12. End;
  13.  
Success #stdin #stdout #stderr 0.01s 5264KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 1: near "DECLARE": syntax error
Error: near line 3: near "B": syntax error
Error: near line 4: near "A": syntax error
Error: near line 6: near "B": syntax error
Error: near line 7: near "IF": syntax error
Error: near line 9: near "ELSE": syntax error
Error: near line 11: near "IF": syntax error
Error: near line 12: cannot commit - no transaction is active