I have a moderately complex report with lots of joins. In debugging my report, I took a look at the SQL representation. I'm not going to go into how it looks right now, but I would like to rearrange it such that the main table that is being drawn from is listed first and all the other are left outer joins from that one. As it stands, a side table is listed first with a right outer join to a bunch of nested joins.
Basically I would like to clean it up some and hopefully fix my bug in the process. From everything I can see, not that I'm an expert, it *should* work, but I've heard that left joins are more stable than right ones.
So, 1) How can I rearrange the tables in the join section to be cleaner, and 2) What determines their sequence in the first place?
Fiona
Basically I would like to clean it up some and hopefully fix my bug in the process. From everything I can see, not that I'm an expert, it *should* work, but I've heard that left joins are more stable than right ones.
So, 1) How can I rearrange the tables in the join section to be cleaner, and 2) What determines their sequence in the first place?
Fiona