Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个更新单个记录的存储过程。基于该记录,在另一个表中重新计算和更新大量记录。目前我正在为此目的使用触发器。我只想知道触发器是否有任何我应该研究的性能问题。即使触发器仍在运行,存储过程也会在触发器完成后返回结果,或者存储过程返回结果。
存储过程的结果取决于触发器语句
BEFORE or AFTER
关于它的优点和缺点的性能,请参阅