Advertisement
rafibatam

PL/pgSQL Block Structure

Aug 3rd, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DO $$
  2. <<Block_Structure>>
  3. DECLARE
  4.     GojekRelease    INTEGER := 2010;
  5.     GrabRelease INTEGER := 2012;
  6.     UberRelease INTEGER := 2012;
  7. BEGIN
  8.     RAISE NOTICE 'Gojek Release on %', GojekRelease;
  9.     RAISE NOTICE 'Grab Release on %', GrabRelease;
  10.     RAISE NOTICE 'Uber Release on %', UberRelease;
  11. END Block_Structure $$;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement