What is the order firing of multiple trigger for a table

MGupta, Piyush 20 Reputation points
2023-03-02T11:28:52.3933333+00:00

is trigger fire in the same order in which sequence it was created for a table without setting the order?

Azure SQL Database
Developer technologies .NET Other
SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. Olaf Helper 47,436 Reputation points
    2023-03-02T11:34:55.6333333+00:00

    If you have several triggers trigger on a table (no good design), then you can only define the first and the last trigger to run, all other will be executed by random.

    See CREATE TRIGGER (Transact-SQL) => Remarks for DML Triggers

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.