Skip to Content
author's profile photo Former Member
Former Member

SQL Command and JOIN Types

I'm using CR 10 and I am trying to write a SQL command. Sadly I'm only able to pull one table. When I try to link in a second table I get a FAILED TO OPEN ROWSET Error. It also mentions an extra token: OUTER

So It sounds like it doesn't like my JOIN statement

I can't seem to figure out the correct syntax to use for the join type. I tried using this format

SELECT "Customers"."FirstName", Customers"."LastName", ."SalesOrder"."Sales"

FROM "Customers" RIGHT OUTER JOIN "Sales"

ON "Customers"."CustomerID" = "Sales"."CustomerID"

I am going this route because I tried linking the tables by using the wizard and the report is unbelievably slow.

Any ideas would be greatly appreciated!

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2009 at 06:32 PM

    Hi ,

    Just try your statement with word join alone and check tosee if it runs.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2009 at 07:34 PM

    Thank you for posting your solution

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.