fahadkalil

plpgsql_select_into_2025

Oct 10th, 2025 (edited)
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.18 KB | Source Code | 0 0
  1. DO $$
  2. DECLARE
  3.   nome VARCHAR;
  4.   sobrenome VARCHAR;
  5. BEGIN
  6.   SELECT first_name, last_name INTO nome, sobrenome
  7.   FROM staff;
  8.  
  9.   RAISE notice '% %', nome, sobrenome;
  10.  
  11. END $$;
Advertisement
Add Comment
Please, Sign In to add comment