SQL Server triggers - order of execution

前端 未结 10 1201
旧时难觅i
旧时难觅i 2020-12-16 09:39

Does anyone know how SQL Server determines the order triggers (of same type, i.e. before triggers) are executed. And is there any way of changing this so that I can specify

10条回答
  •  感动是毒
    2020-12-16 10:10

    Use this system stored procedure:

    sp_settriggerorder[@triggername = ] 'triggername', [@order = ] 'value', [@stmttype = ] 'statement_type'
    

提交回复
热议问题