Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: joins: avoiding recurrences
Torsten wrote:
> Hello Daniel Morgan,
>
> I have a very temporary limited job, providing a web interface to a
> limited selection of tables (only) to our spreaded working group.
>
> If you write me, that (natural joins)
>
>>They are the invention of a marketing department and have no place in >>any serious application.
No doubt. But the person who comes after you to maintain it may not. The other problem with natural joins is that the code does not document what has been joined. There is no way to explicitly know whether data integrity has been maintained.
For the few extra characters it takes to type is correctly I urge you to not (never) use natural joins. There are many things Oracle does for marketing purposes that are just plain bad practice. Among them the roles CONNECT, RESOURCE and DBA. Just because it exists is not a good reason to use it.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Mon Feb 23 2004 - 19:29:14 CST
![]() |
![]() |