Script dá perfil para usuário poder declarar omisso(botao).

parent b71b560a
Showing with 20 additions and 0 deletions
DO $$
BEGIN
BEGIN
INSERT INTO seguranca.perfilusuario
(usucpf, pflcod)
VALUES('88187152168', 3128);
EXCEPTION
WHEN others THEN RAISE NOTICE 'Registro já existe ou não pode ser inserido';
END;
END;
$$
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment