João Pinto (Customer) asked a question.

Define trigger for all tables

Hi there!

I wanted to ask if there's a way to create a trigger for all tables ("write" for example). 

I was thinking on using the following code in a persistant procedure:

  1. ON WRITE OF Customer DO:
  2.  
  3. END.

 

But I don't want to have to have a block of code for each table. Is there a way to do the previous code dynamically? If not, what would be my best option?

 

Thank you!

JP


Peter Judge likes this.
10 of 20