Standard SQL has triggers FOR EACH STATEMENT, but MariaDB has not. I would use a stored procedure instead.
Regards
Federico
--------------------------------------------
Ven 13/11/15, Roberto Spadim <roberto@spadim.com.br> ha scritto:
Oggetto: [Maria-discuss] doubt trigger
A: "Maria Discuss" <maria-discuss@lists.launchpad.net>
Data: Venerdì 13 novembre 2015, 21:50
-----Segue allegato-----
hi guy, i'm with
a doubt
thre's a trigger to execute after
insert/update/delete complete? not row by rowi
want to change some tables and automatically execute a
procedure to recalculate some values, but i will
insert/update/delete many rows, that's why i want to
execute it after query execution, but with a CALL
PROCEDURE()
any idea?
--
Roberto Spadim
_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help : https://help.launchpad.net/ListHelp