I would kind of treat a trigger like import though.
well, yes. It works pretty much like a import but the thing is that you can't usually see it straight away and it might be the case that some trigger calls some stored procedure that calls n other procedures that modify n tables and in those tables there might be a trigger that doesn't know how to handle operations that encompass more than one row, for instance. And there goes some hours debugging that snowball
legacy databases are fun(and sometimes the reason I drink)
View all comments
Show parent comment
8
u/matheusware Oct 29 '19
well, yes. It works pretty much like a import but the thing is that you can't usually see it straight away and it might be the case that some trigger calls some stored procedure that calls n other procedures that modify n tables and in those tables there might be a trigger that doesn't know how to handle operations that encompass more than one row, for instance. And there goes some hours debugging that snowball
legacy databases are fun(and sometimes the reason I drink)