Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle Bug? SQL not returning correct rows.
It's definately not number 2. I've had others that I work with look
at the code and run it themselves. The only way we can get the query
to return the correct results is to put a distinct on bill_of_lading,
qty...but that doesn't really explain what is happening...it just
masks the issue.
Thanks for the post.
-Ryan
> it should be impossible that Query 1 returns five records for
> bill_of_lading = M353655 and Query 3 returns just one. There are only
> two possible reasons for it as far as I can see it: 1. A bug in
> Oracle. 2. Your actual query differs from what you posted. The second
> reason is much more likely than the first one, however. Maybe you
> tried to simplify your query for posting it here and accidentally
> removed the critical part?
Received on Tue Feb 13 2007 - 08:05:26 CST