fahadkalil

plpgsql_call_procedure

Oct 16th, 2025
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.24 KB | Source Code | 0 0
  1. DO $$
  2. DECLARE
  3.   film_id INT := 10;
  4.   store_id INT := 1;
  5.   out_total INT;
  6. BEGIN
  7.   CALL total_filme_loja(film_id, store_id, out_total);
  8.  
  9.   RAISE NOTICE 'Filme % possui % itens em estoque na loja %', film_id, out_total, store_id;
  10.  
  11. END;
  12. $$
Advertisement
Add Comment
Please, Sign In to add comment