What is a trigger in oracle sql and what's is use in oracle?

Answer:
A trigger is a piece of code that will be fired on a given event. So for example if a piece of software deletes a record in the customer table, you might use a trigger to delete records from other tables that are associated with that customer.

Another example would be to write a log in a audit table, if someone changes the data in a table.
First answer by ID3238595975. Last edit by ID3238595975. Question popularity: 2 [recommend question].