On Wednesday, April 12, 2017, Alvin Díaz <alvin(dot)rd(at)live(dot)com> wrote:
> the same function to make sure that both
> header and detail
> are committed or not.
>
You don't need functions to establish transactions. That is why the
commands BEGIN and COMMIT exist.
David J.