Advertisement
TheLinkerZero

PL/SQL Constant

Jul 23rd, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.20 KB | None | 0 0
  1. DO $$
  2. DECLARE
  3.     math_pi CONSTANT numeric(3,2) := 3.14;
  4.     circle_diameter numeric(8) := 19;
  5.    
  6. BEGIN
  7.     RAISE notice 'The wide of the circle is %', math_pi * circle_diameter * circle_diameter / 4;
  8. END $$;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement