It's ok with me to shift the businesss logic to a stored procedure, but then, the procedure will also be called from a trigger only, because I want online updates, not scheduled.
So, is this solution possbile ?