DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 11

Thread: Outer join error

Threaded View

  1. #7
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    I think there is something fundamentally wrong. The only relationship between poam and milestone I can see is this:
    Code:
    p.poam_id = w.poam_id (+) AND
    w.weakness_id (+) = m.weakness_id
    Which, if it were permitted and meant something, would:

    EITHER produce a Cartesian product - all rows of poam would match all rows of milestone via the NULL rows of weakness in the outer join (allowing NULL=NULL to be true)

    OR lose all the rows where there are none corresponding in weakness (allowing NULL=NULL to be false), in which case you don't have an outer join.


    What I have just written boarders on the incomprehensible - you need a picture. I say again: LOOK TO THE DATA MODEL.
    Last edited by DaPi; 04-16-2004 at 02:05 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width