Thread: Trigger is taking time to fire
Hi All,
I am having a trigger in table, If i update the the table manually it is not taking time(say 200ms per row), But if i update the table through procedure the trigger is taking time to fire(say 7 to 10 seconds per row).
How can i make the trigger to fire immediately ?
Regards,
Ram
On Sun, Jul 13, 2008 at 11:59 PM, Ramasubramanian <ramasubramanian.g@renaissance-it.com> wrote: > > Hi All, > I am having a trigger in table, If i update the the table manually it is > not taking time(say 200ms per row), But if i update the table through > procedure the trigger is taking time to fire(say 7 to 10 seconds per row). > > How can i make the trigger to fire immediately ? I'm thinking the user defined function is using a cached query plan. Try using execute to see if it runs faster that way.