thegiraffe
Programmer
I have a table that i have all pending tasks held in, there are many different stages with the innitial setup of a client record so there are many triggers on this pending table.
It is already becoming quite a lengthy trigger,
lots of
if CODE = 100
insert this pending for run
if CODE = 101
insert this pending for run
if CODE = 102
insert this pending for run
Currently there are about 10 maybe more if statements and about 20 inserts in one trigger.
I need to do a lot more, should I write these all into one trigger as i don't have to set the basic details or would it be advisable to split all of the tasks i need to complete into a few triggers.
I don't want to drain the power with one trigger, any suggestions. Dave
Theres nothing worse than an idea when its the only one we have!
It is already becoming quite a lengthy trigger,
lots of
if CODE = 100
insert this pending for run
if CODE = 101
insert this pending for run
if CODE = 102
insert this pending for run
Currently there are about 10 maybe more if statements and about 20 inserts in one trigger.
I need to do a lot more, should I write these all into one trigger as i don't have to set the basic details or would it be advisable to split all of the tasks i need to complete into a few triggers.
I don't want to drain the power with one trigger, any suggestions. Dave
Theres nothing worse than an idea when its the only one we have!