I have a procedure that runs every one hour populating a table. The records handled from the procedure are many so it takes approximately 12~17 mins each time it is executed.
Do you now if there is a way (i.e. trigger) to record the duration of each execution (i.e. into a table)?
I have a procedure that runs every one hour populating a table. The records
Share
I don’t know of a trigger that would allow this to be done automatically. One way to do this would be something like
If you only need this for a few procedures this might be sufficient.
Share and enjoy.