There are various operators and system procedures that cannot be executed in a transaction with an error message "not allowed ..." (for example, create database ) or "unable to execute ..." (for example, exec sp_addrole ).
Is there a rule or set of rules that indicate whether a given operation / instruction is allowed in a transaction? Are there any listings?
source share