- Notifications
You must be signed in to change notification settings - Fork5
Commit23f11dc
committed
In examples of Oracle PL/SQL code, use varchar2 not varchar.
Oracle recommends using VARCHAR2 not VARCHAR, allegedly because they mightsomeday change VARCHAR to be spec-compliant about distinguishing null fromempty string. (I'm not holding my breath, though.) Our examples of PL/SQLcode were using VARCHAR, which while not wrong is missing the pedagogicalopportunity to talk about converting Oracle type names to Postgres. Soswitch the examples to use VARCHAR2, and add some text about what to dowith common Oracle type names like VARCHAR2 and NUMBER. (There is probablymore to be said here, but those are the ones I'm sure about offhand.)Per suggestion from rapg12@gmail.com.Discussion: <20160521140046.22591.24672@wrigleys.postgresql.org>1 parent6ee7fb8 commit23f11dc
1 file changed
+29
-9
lines changedLines changed: 29 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4916 | 4916 |
| |
4917 | 4917 |
| |
4918 | 4918 |
| |
| 4919 | + | |
| 4920 | + | |
| 4921 | + | |
| 4922 | + | |
| 4923 | + | |
| 4924 | + | |
| 4925 | + | |
| 4926 | + | |
| 4927 | + | |
| 4928 | + | |
| 4929 | + | |
4919 | 4930 |
| |
4920 | 4931 |
| |
4921 | 4932 |
| |
| |||
4977 | 4988 |
| |
4978 | 4989 |
| |
4979 | 4990 |
| |
4980 |
| - | |
4981 |
| - | |
4982 |
| - | |
| 4991 | + | |
| 4992 | + | |
| 4993 | + | |
4983 | 4994 |
| |
4984 | 4995 |
| |
4985 | 4996 |
| |
| |||
4996 | 5007 |
| |
4997 | 5008 |
| |
4998 | 5009 |
| |
| 5010 | + | |
| 5011 | + | |
| 5012 | + | |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
| 5017 | + | |
| 5018 | + | |
4999 | 5019 |
| |
5000 | 5020 |
| |
5001 | 5021 |
| |
| |||
5071 | 5091 |
| |
5072 | 5092 |
| |
5073 | 5093 |
| |
5074 |
| - | |
5075 |
| - | |
| 5094 | + | |
| 5095 | + | |
5076 | 5096 |
| |
5077 | 5097 |
| |
5078 | 5098 |
| |
| |||
5167 | 5187 |
| |
5168 | 5188 |
| |
5169 | 5189 |
| |
5170 |
| - | |
5171 |
| - | |
5172 |
| - | |
5173 |
| - | |
| 5190 | + | |
| 5191 | + | |
| 5192 | + | |
| 5193 | + | |
5174 | 5194 |
| |
5175 | 5195 |
| |
5176 | 5196 |
| |
|
0 commit comments
Comments
(0)