Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to specify an order for table join?

Status
Not open for further replies.

Jcatcat

Technical User
Jul 9, 2007
10
CN
There is a outer join in my query. But it doesn't work.

When using "Show SQL", I found out something like:

select ... from a
join ....
right outer join b on ....
join ....

It seems that the join after my right outer join makes outer join cann't work correctly.

I also test my thought by moving the outer join to the end of the query.

So how can I specify the join order generated by universe?

BTW, I know in Webi we can "Use Custom SQL". But my query is too complicated. It is hard for maintenance if using Custom SQL.
 
I'm sorry, but the order of the joins shouldn't matter, should it? It may affect our ability to read it, but the optimizer should take care of making it run faster. I've never heard of the join order producing incorrect results.

Steve Krandel
Intuit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top