Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sybase/Sql server Outer Joins, nulls, and counts
On 24 Oct 2006 15:03:57 -0700, dba_222_at_yahoo.com wrote:
>> On r.unique_id = e.unique_id
>> And e.unique_id is NULL
>Oracle would not let such a statement even compile.
>(can't have an AND without first having a WHERE)
>The compiler would give an error. In which case, I would have just
>corrected the syntax and got on with it.
There is nothing illegal about that syntax, as the AND is simply part of the ON clause. I suspect that Oracle does allow compound testing in the ON clause.
Roy Received on Tue Oct 24 2006 - 17:40:05 CDT