SA0098 : The results from triggers are currently allowed. Consider disabling results from triggers
The topic describes the SA0098 analysis rule.
The results from triggers are currently allowed. Consider disabling results from triggers
The rule checks the if the 'Disallow results from triggers' option be set to ON.
The rule reports warning if your server is currently configured to allow triggers to return result sets.
The following error message will be given when this option is set to ON and a result set is returned from a trigger:
Msg 524, Level 16, State 1, Procedure <Procedure Name>, Line <Line#> - A trigger returned a resultset and the server option 'disallow_results_from_triggers' is true.
The rule has a ContextOnly scope and is applied only on current server and database schema.
Rule has no parameters.
The rule requires SQL Connection. If there is no connection provided, the rule will be skipped during analysis.
© Ubitsoft Ltd. All Rights Reserved.