A T-SQL procedure is named with the sp_ prefix of system procedures
What it finds
SQL Server looks for procedures named sp_... in the master database first, which costs a lookup on every call, and a system procedure of the same name added in a later version takes precedence over the user's.
From the rule's source, system_procedure_prefix.rs.
Turn it on, off or suppress it
The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/sql:system-procedure-prefix" = "warning"To keep one finding, suppress it with a reason: tx0 suppress ID --reason "..." writes the comment for it.
tx0 explain tx0/sql:system-procedure-prefix shows the same in the terminal. Found a false positive? Report it.