you must initialize the constant at the time of declaration : Constant Number « PL SQL « Oracle PL / SQL






you must initialize the constant at the time of declaration

  
SQL>
SQL>
SQL> declare
  2    myNumber_constant constant number := 50;
  3  begin
  4    null;
  5  end;
  6  /

PL/SQL procedure successfully completed.

SQL>
SQL>

   
  








Related examples in the same category

1.Declare initialized constant number
2.Change constant number
3.declare number constant uninitialized
4.This script demonstrates constants