Trigger and number of rows affected(beyondrelational.com)
submitted by
jacobsebastian(3639) 1 year, 1 month ago
One of my frieds told me that INSERT trigger will not fire if no data are added to the main table. It is a mistake that some people think that triggers will not fire if no row is affected. Note that trigger is event based and not data based. Here is a proof that trigger fires eventhough no row is affected...
|category: Database
|Views: 28
tags:
Database another
Everyones tags:
Your Tags: