What's the difference between using oracle's plus notation over the ansi standard 'join' notation?
Is there a difference in performance?
Is the plus notation deprecated?
Thanks
What's the difference between using oracle's plus notation over the ansi standard 'join' notation?
Is there a difference in performance?
Is the plus notation deprecated?
Thanks
The notation is still supported as of Oracle 10 (and I believe 11). It's use is considered "old fashioned", and also is not as database portable as the ANSI JOIN syntax. It's also considered much less readable, although if you come from the + background getting used to ANSI JOIN can take a little time. The important thing to know before hurling brickbats at Oracle is that they developed their + syntax before the ANSI committee had completed the definitions for the joins.
There is no performance difference; they are expressing the same thing.
Edit: By "not as portable" I should have said "only supported in Oracle SQL"
I agree with Tony Miller's answer and would like to add that there are also a few things that you can NOT do with the (+) synthax:
b.id = a.id (+) AND c.id = a.id (+)
is not an acceptable clause)