Answer the question
In order to leave comments, you need to log in
Which is better to use triggers or functions?
When you insert data into a table, you need to keep a history of changes in it.
How it is better to implement it?
Write a trigger that will call the function for adding records to the history table or immediately the function that you call? When called, such a function will insert data into the main table and write history to another table.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question