SQL Differences between stored procedure and triggers

前端 未结 13 1331
北荒
北荒 2021-01-30 20:38

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.

<
13条回答
  •  南方客
    南方客 (楼主)
    2021-01-30 21:16

                        ***TRIGGERS*** 
    
    1. Action on specific time.

    2. Triggers is a special type of stored procedure that is not called directly by user.

    3. When the trigger is created, it is defined to fire when a specific type of data modification is made against a specific table or column

提交回复
热议问题