Aggiunta e refresh stored

This commit is contained in:
Samuele Locatelli
2026-01-21 16:43:48 +01:00
parent 95ea5c504f
commit 455a86c17c
4 changed files with 88 additions and 1 deletions
@@ -27,6 +27,7 @@ BEGIN
INSERT INTO utils_counter (RefYear, CountName, Counter)
VALUES (pYear, pName, vNew)
ON DUPLICATE KEY UPDATE Counter = VALUES(Counter);
ELSE
-- Incremento esistente
SET vNew = vOld + pCount;