I\'m having trouble understanding the difference between a stored procedure and a trigger in sql. If someone could be kind enough to explain it to me that would be great.
If you are familiar with JavaScript, a trigger is an addEventListener and Stored Procedure is a callback.
trigger
addEventListener
Stored Procedure
callback