Ask the Expert

Equivalent Oracle syntax of SQL:1999 syntax

What is the equivalent Oracle syntax of the following SQL:1999 syntax?
SELECT .....
FROM a JOIN b ON (a.docid = b.docid)
    LEFT OUTER JOIN (a.docid = c.docid) 

    Requires Free Membership to View

The above does not look like SQL-99 compliant syntax to me. It should be as follows:
SELECT ....
FROM a LEFT OUT JOIN b ON (a.docid = b.docid)
And Oracle supports this. In your example, you define the join condition twice. SQL-99 does not ask you to define the join condition more than once.

This was first published in April 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: