top of page

CONSTANT in PLSQL

  • Writer: Rumesh Aponso (RMAX)
    Rumesh Aponso (RMAX)
  • Nov 15, 2024
  • 1 min read

Updated: Nov 22, 2024

DECLARE
   HUNDRED_     CONSTANT VARCHAR2(15) := 'hundred';
   HUNDRED_NUM_ CONSTANT NUMBER       := 100;
BEGIN
   Dbms_Output.Put_Line(HUNDRED_);
   Dbms_Output.Put_Line(HUNDRED_NUM_);
END;

Output:

ree

Comments


Copyright © 2025 RMAXOneNote

  • Online CV
  • LinkedIn
  • Youtube
  • GitHub
  • Blogger
bottom of page