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:
parent
b547f4f2a7
commit
086b030bc7
1 changed files with 5 additions and 2 deletions
|
@ -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
|
* Do not prefix with `sp_` or any other such descriptive prefix or Hungarian
|
||||||
notation
|
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
|
* `_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
|
* `_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
|
* `_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`
|
* `_addr`—an address for the record could be physical or intangible such as `ip_addr`
|
||||||
|
|
||||||
## Appendices
|
## Appendix
|
||||||
|
|
||||||
### Reserved keyword reference
|
### Reserved keyword reference
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue