Hello all,
We have an application (ambercat - helpdesk software)
whereby an action can be added to a request which
results in the following sql:
begin transaction
insert into Actions
update requests
commit
What I want to do is add a trigger to the Actions table
which will do up updates (including the Requests table)
- that I would ideally! like to happen after the above commit has been done....
but obviously adding the trigger to the actions table
results in anything in the trigger happenning before
the commit is reached.....
Any ideas anyone?
Perhaps the answer is to write a flag to another table,
which a polling process monitors and then does the
required updates the trigger would have done.....?
We have an application (ambercat - helpdesk software)
whereby an action can be added to a request which
results in the following sql:
begin transaction
insert into Actions
update requests
commit
What I want to do is add a trigger to the Actions table
which will do up updates (including the Requests table)
- that I would ideally! like to happen after the above commit has been done....
but obviously adding the trigger to the actions table
results in anything in the trigger happenning before
the commit is reached.....
Any ideas anyone?
Perhaps the answer is to write a flag to another table,
which a polling process monitors and then does the
required updates the trigger would have done.....?