|
8 | 8 | 4. Avoid long abbreviations. Abbreviations should be shorter than 5 characters. |
9 | 9 | 5. Any abbreviations must be widely known and accepted. |
10 | 10 | 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 keywords as names. A list of keywords may be found in the dictionary view `v$reserved_words`. |
12 | 12 | 8. Avoid adding redundant or meaningless prefixes and suffixes to identifiers.<br/>Example: `create table emp_table`. |
13 | 13 | 9. Always use one spoken language (e.g. English, German, French) for all objects in your application. |
14 | 14 | 10. Always use the same names for elements with the same meaning. |
15 | 15 |
|
16 | 16 | ## Naming Conventions for PL/SQL |
17 | 17 |
|
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 (") 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, the Oracle Database 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 (") so the Oracle Database 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. |
19 | 19 |
|
20 | 20 | A widely used convention is to follow a `{prefix}variablecontent{suffix}` pattern. |
21 | 21 |
|
@@ -254,6 +254,6 @@ Examples: |
254 | 254 | We see a table and a view as a collection. A jar containing beans is labeled "beans". |
255 | 255 | In Java we call such a collection also "beans" (`List<Bean> beans`) and name an entry "bean" |
256 | 256 | (`for (Bean bean : beans) {...}`). An entry of a table is a row (singular) and a table can |
257 | | - contain an unbounded number of rows (plural). This and the fact that the Oracle database uses |
| 257 | + contain an unbounded number of rows (plural). This and the fact that the Oracle Database uses |
258 | 258 | the same concept for their tables and views lead to the decision to use the plural |
259 | 259 | to name a table or a view. |
0 commit comments