Skip to content

Good practice checklists

Use this checklist to demonstrate you follow our coding standards.

We cross-reference each checklist item to a relevant section in our standards and guides; Exceptions are noted where they may apply.

9.1 general good practice

Item Guide or standard Exceptions
1 You avoid placing business logic in the database T-SQL coding standard, 7.1 This is a general rule. But there may be times when there are good reasons not to follow it.
2 You follow the coding conventions described in this standard T-SQL coding standard, All
3 You keep T-SQL scripts and database code in source control T-SQL coding standard, 7.3
5 You analyse T-SQL against Redgate code analysis rules T-SQL coding standard, 7.6
6 You format T-SQL using our common configuration settings T-SQL coding standard, 7.20