Question : Trigger delay

Hello:

I have created a trigger that fires on Insert, Update to a table called zz_salidawf, whenever a change happens to it. The problem is that the table is getting used by an external program immediately after the ok button is clicked and then the trigger executes at the same time causing the first program to fail, stating that it cannot complete an Insert to a totally different table. It's as if the trigger is getting executed too fast and disrupting the flow. Is this possible? What might be going on here? How can I wait to execute the trigger 5 seconds. The trigger works fine when I execute it manually and do an update or Insert, the problem is when it¡s executed in the real scenario via an external program.

Answer : Trigger delay

Open the properties of the trigger and click on the permissions tab.  In the users area, add the user that is attempting to update zz_salidawf.  Then click the effective permissions button.
Random Solutions  
 
programming4us programming4us