From 086b030bc7d5f166c4aa7c11dd20828781d7ab81 Mon Sep 17 00:00:00 2001 From: Simon Holywell Date: Tue, 7 Jul 2015 15:25:45 +0100 Subject: [PATCH] Improve grammar --- _includes/sqlstyle.guide.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/_includes/sqlstyle.guide.md b/_includes/sqlstyle.guide.md index e966133..5f45f9a 100644 --- a/_includes/sqlstyle.guide.md +++ b/_includes/sqlstyle.guide.md @@ -190,7 +190,10 @@ SELECT SUM(s.monitor_tally) AS monitor_total * Do not prefix with `sp_` or any other such descriptive prefix or Hungarian notation -### Uniform postfixes +### Uniform suffixes + +The following suffixes have a universal meaning ensuring the columns can be read +and understood easily from SQL code. Use the correct suffix where appropriate. * `_id`—a unique identifier such as a column that is a primary key * `_status`—flag value or some other status of any type such as @@ -204,7 +207,7 @@ SELECT SUM(s.monitor_tally) AS monitor_total * `_size`—the size of something such as a file size or clothing * `_addr`—an address for the record could be physical or intangible such as `ip_addr` -## Appendices +## Appendix ### Reserved keyword reference