Advertisement
Rahmadnet

PL/pgSQL function parameters

Jul 23rd, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. create or replace function register(inout id int,
  2. inout name varchar,
  3. inout email varchar,
  4. inout password varchar,
  5. inout confirm varchar)
  6. as $$
  7. begin
  8.     confirm := password;
  9. end; $$
  10. language plpgsql;
  11.  
  12. select * from  register(1,'rahmad','rahmad123','setoran','');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement