script para deletar registro especifico do banco de dados.

parent b23cb3fe
Showing with 10 additions and 0 deletions
DO $$
BEGIN
BEGIN
DELETE FROM par.rollresponsaveisprefeitos
WHERE rrpid = '21835';
EXCEPTION
WHEN OTHERS THEN
RAISE WARNING 'Erro ao deletar em rollderesponsaveis: %', SQLERRM;
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