0

What are triggers in database?

triggers

5th May 2018, 1:44 PM
Daniels
2 Respostas
+ 9
http://www.mysqltutorial.org/sql-triggers.aspx Refer this for practical examples
5th May 2018, 1:58 PM
Rstar
Rstar - avatar
+ 8
On some modification (insert , delete ,update) in database an event should trigger or happen . To achieve this feature there are trigger in database. Example : suppose you have a warehouse that stores products , and if the number of products falls below certain minimum value , then an event should trigger that alerts the user to add some more products or you can automatically place order of more products
5th May 2018, 1:53 PM
Rstar
Rstar - avatar