In reply to shaky005:
One problem with your code is you need to declare intr_txn locally in each begin/end block, otherwise the handle will get overwritten.
In reply to shaky005:
One problem with your code is you need to declare intr_txn locally in each begin/end block, otherwise the handle will get overwritten.