Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CREATE TRIGGER trigger_desconto_produto BEFORE INSERT
on PRODUTOS_SERVICOS
FOR EACH ROW
SET NEW.preco_desconto = (NEW.valor * 0.90);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment