Created
May 26, 2021 01:28
-
-
Save Lucbm99/61ea582455261b1ba3902935d140e2c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create trigger delete_produto before delete | |
on PRODUTOS_SERVICOS | |
for each row | |
insert into DELECAO_PRODUTOS | |
values(old.idProdutos_Servicos, old.nome, old.descricao, old.valor, old.fornecedor, old.tipo, old.preco_desconto, now()); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment