1
0
Fork 0
mirror of https://github.com/treffynnon/sqlstyle.guide.git synced 2025-03-09 12:49:51 -05:00

Improve grammar

This commit is contained in:
Simon Holywell 2015-07-07 15:25:45 +01:00
parent b547f4f2a7
commit 086b030bc7

View file

@ -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