No rule selected
G-9207 – Always follow naming conventions for check constraints.
All table constraints share the same namespace. Follow naming conventions to prevent naming conflicts, improve readability, and clearly indicate the scope without forcing the use of qualified names. A common practice is to use a prefix and/or suffix to distinguish the identifier types. **Recommendations** Table name or table abbreviation followed by the column and/or role of the check constraint, a `_ck` and an optional number suffix. **Examples** * `employees_salary_min_ck` * `orders_mode_ck`
Tags: Naming SQL.
Quality area: Maintainability. Severity: Minor. Fixing time: Local-high.
Press p or n to quickly navigate to the previous/next rule.
