|
Archives of the TeradataForumMessage Posted: Mon, 06 Jan 2003 @ 18:25:52 GMT
It appears that you have a join predicate in the WHERE clause: from dev.travcard a,dev.customer_cops b where a.install is not null and a.inactivate is null and b.recid = a.fk_Customer If this is the case you will get a INNER JOIN. If you want a cross join, I would suggest the following syntax: from dev.travcard a CROSS JOIN dev.customer_cops b where a.install is not null and a.inactivate is null And take out the join predicate, "and b.recid = a.fk_Customer" in the WHERE Clause. Looking at the projected columns and the CASE statements - are you sure you are wanting a CROSS JOIN? Not knowing the details it's hard to tell. Hope this helps.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||