Skip to content

Commit ac47b71

Browse files
committed
Fix #122 - Consistent use of initcap case for the word Oracle
1 parent 8ce6e6e commit ac47b71

File tree

15 files changed

+21
-21
lines changed

15 files changed

+21
-21
lines changed

docs/1-introduction/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document describes rules and recommendations for developing applications us
44

55
## Scope
66

7-
This document applies to the PL/SQL and SQL language as used within ORACLE databases and tools, which access ORACLE databases.
7+
This document applies to the PL/SQL and SQL language as used within Oracle databases and tools, which access Oracle databases.
88

99
## Document Conventions
1010

docs/2-naming-conventions/naming-conventions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
4. Avoid long abbreviations. Abbreviations should be shorter than 5 characters.
99
5. Any abbreviations must be widely known and accepted.
1010
6. Create a glossary with all accepted abbreviations.
11-
7. Never use ORACLE keywords as names. A list of ORACLEs keywords may be found in the dictionary view `v$reserved_words`.
11+
7. Never use Oracle keywords as names. A list of Oracles keywords may be found in the dictionary view `v$reserved_words`.
1212
8. Avoid adding redundant or meaningless prefixes and suffixes to identifiers.<br/>Example: `create table emp_table`.
1313
9. Always use one spoken language (e.g. English, German, French) for all objects in your application.
1414
10. Always use the same names for elements with the same meaning.
1515

1616
## Naming Conventions for PL/SQL
1717

18-
In general, ORACLE is not case sensitive with names. A variable named personname is equal to one named PersonName, as well as to one named PERSONNAME. Some products (e.g. TMDA by Trivadis, APEX, OWB) put each name within double quotes (&quot;) so ORACLE will treat these names to be case sensitive. Using case sensitive variable names force developers to use double quotes for each reference to the variable. Our recommendation is to write all names in lowercase and to avoid double quoted identifiers.
18+
In general, Oracle is not case sensitive with names. A variable named personname is equal to one named PersonName, as well as to one named PERSONNAME. Some products (e.g. TMDA by Trivadis, APEX, OWB) put each name within double quotes (&quot;) so Oracle will treat these names to be case sensitive. Using case sensitive variable names force developers to use double quotes for each reference to the variable. Our recommendation is to write all names in lowercase and to avoid double quoted identifiers.
1919

2020
A widely used convention is to follow a `{prefix}variablecontent{suffix}` pattern.
2121

docs/3-coding-style/coding-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Inside a program unit only use the line commenting technique `--` unless you tem
5656

5757
To comment the source code for later document generation, comments like `/** ... */` are used. Within these documentation comments, tags may be used to define the documentation structure.
5858

59-
Tools like ORACLE SQL Developer or PL/SQL Developer include documentation functionality based on a javadoc-like tagging.
59+
Tools like Oracle SQL Developer or PL/SQL Developer include documentation functionality based on a javadoc-like tagging.
6060

6161
### Commenting Tags
6262

docs/4-language-usage/2-variables-and-types/1-general/g-2130.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Your code will be easier to read as the usage of a variable/constant may be deri
1313

1414
Type | Usage
1515
------------------ | -----
16-
`ora_name_type` | Object corresponding to the ORACLE naming conventions (table, variable, column, package, etc.).
16+
`ora_name_type` | Object corresponding to the Oracle naming conventions (table, variable, column, package, etc.).
1717
`max_vc2_type` | String variable with maximal VARCHAR2 size.
1818
`array_index_type` | Best fitting data type for array navigation.
1919
`id_type` | Data type used for all primary key (id) columns.

docs/4-language-usage/2-variables-and-types/2-numeric-data-types/g-2230.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
## Restriction
77

8-
ORACLE 11g or later
8+
Oracle 11g or later
99

1010
## Reason
1111

1212
`simple_integer` does no checks on numeric overflow, which results in better performance compared to the other numeric datatypes.
1313

14-
With ORACLE 11g, the new data type `simple_integer` has been introduced. It is a sub-type of `pls_integer` and covers the same range. The basic difference is that `simple_integer` is always `not null`. When the value of the declared variable is never going to be null then you can declare it as `simple_integer`. Another major difference is that you will never face a numeric overflow using `simple_integer` as this data type wraps around without giving any error. `simple_integer` data type gives major performance boost over `pls_integer` when code is compiled in `native` mode, because arithmetic operations on `simple_integer` type are performed directly at the hardware level.
14+
With Oracle 11g, the new data type `simple_integer` has been introduced. It is a sub-type of `pls_integer` and covers the same range. The basic difference is that `simple_integer` is always `not null`. When the value of the declared variable is never going to be null then you can declare it as `simple_integer`. Another major difference is that you will never face a numeric overflow using `simple_integer` as this data type wraps around without giving any error. `simple_integer` data type gives major performance boost over `pls_integer` when code is compiled in `native` mode, because arithmetic operations on `simple_integer` type are performed directly at the hardware level.
1515

1616

1717
## Example (bad)

docs/4-language-usage/2-variables-and-types/3-character-data-types/g-2330.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Reason
77

8-
Today zero-length strings and `null` are currently handled identical by ORACLE. There is no guarantee that this will still be the case in future releases, therefore if you mean `null` use `null`.
8+
Today zero-length strings and `null` are currently handled identical by Oracle. There is no guarantee that this will still be the case in future releases, therefore if you mean `null` use `null`.
99

1010
## Example (bad)
1111

docs/4-language-usage/2-variables-and-types/5-large-objects/g-2510.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Reason
77

8-
`long` and `long raw` data types have been deprecated by ORACLE since version 8i - support might be discontinued in future ORACLE releases.
8+
`long` and `long raw` data types have been deprecated by Oracle since version 8i - support might be discontinued in future Oracle releases.
99

1010
There are many constraints to `long` datatypes in comparison to the `lob` types.
1111

docs/4-language-usage/3-dml-and-sql/1-general/g-3150.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Restriction
77

8-
ORACLE 12c
8+
Oracle 12c
99

1010
## Reason
1111

docs/4-language-usage/3-dml-and-sql/1-general/g-3160.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
Maintainability, Reliability
55

66
!!! missing "Unsupported in PL/SQL Cop Validators"
7-
We cannot identify the type of a column. Requires `create table` and `alter table` parser support or access to the Oracle Data Dicionary.
7+
We cannot identify the type of a column. Requires `create table` and `alter table` parser support or access to the Oracle Data Dictionary.
88

99
## Restriction
1010

11-
ORACLE 12c
11+
Oracle 12c
1212

1313
## Reason
1414

docs/4-language-usage/3-dml-and-sql/1-general/g-3170.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
Reliability
55

66
!!! missing "Unsupported in PL/SQL Cop Validators"
7-
We cannot identify column default values. Requires `create table` and `alter table` parser support or access to the Oracle Data Dicionary.
7+
We cannot identify column default values. Requires `create table` and `alter table` parser support or access to the Oracle Data Dictionary.
88

99
## Restriction
1010

11-
ORACLE 12c
11+
Oracle 12c
1212

1313
## Reason
1414

15-
Default values have been nullifiable until ORACLE 12c. Meaning any tool sending null as a value for a column having a default value bypassed the default value. Starting with ORACLE 12c default definitions may have an `on null` definition in addition, which will assign the default value in case of a `null` value too.
15+
Default values have been nullifiable until Oracle 12c. Meaning any tool sending null as a value for a column having a default value bypassed the default value. Starting with Oracle 12c default definitions may have an `on null` definition in addition, which will assign the default value in case of a `null` value too.
1616

1717
## Example (bad)
1818

0 commit comments

Comments
 (0)