Comment by candiddevmike
2 days ago
How do you handle trigger logic that compares old/new without having a round trip back to the application?
2 days ago
How do you handle trigger logic that compares old/new without having a round trip back to the application?
Do it in a stored procedure not a trigger. Triggers have their place but a stored procedure is almost always better. Triggers can surprise you.
I don't follow how you would do that in a stored procedure outside of a trigger.
I think instead of performing an INSERT you call a stored proc that does the insert and some extra stuff.
1 reply →