Null statement means nothing : NULL Statement « PL SQL « Oracle PL / SQL






Null statement means nothing

SQL>
SQL> -- null statement
SQL>
SQL>  declare
  2      l_number_variable number := 50;
  3    begin
  4      -- NULL; means do nothing. The executable section
  5      -- needs at least one line of code.
  6      null;
  7    end;
  8    /

PL/SQL procedure successfully completed.

SQL>
SQL>


           
       








Related examples in the same category

1.Empty procedure with 'NULL' statement
2.NULL as a statement inside IF