PL/SQL    up
 
 


 Hello World   Michael Neumann
BEGIN
  DBMS_OUTPUT.put_line('Hello World');
END;
Prints "Hello World" onto the screen.


 Squares   Michael Neumann
DECLARE
  square INT;
BEGIN
  FOR i IN 1..10 LOOP
    square := i * i;
    DBMS_OUTPUT.put_line( to_char(square) || ' ' );
  END LOOP;
END;
Outputs the squares from 1 to 10.