× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



--
Tim,

I should write the statement starting with table B, like:

select *
from (jpldcusgsm B join prdjrnusg A  on A.pjstr# =
B.jpstr#)
   inner join pmlrd6 C on (C.rdicde = B.rdicde) and
                         (C.rdsize = B.rdsize) and
                         (C.rdrid  = B.rdrid)

Hope this helps.

Regards,

Carel Teijgeler.


>Below is a sql that works... But does not work the way I feel it should...
>But since I'm very new to the sql syntax, I must be missing something...
>
>Problem..
>
>Table A  (indexed by date) is linked to Table B, via a Transaction #.
>Table B (Indexed by Transaction #) but linked to Table C, by  Item#, Size
>Code, and a Requistion #.
>Table C (Indexed by Item#, Size Code, Req#)
>
>The problem is this... For some reason, it's not using the index for table
>C, its creating a copy of C, and creating an access path...
>
>I was hoping some one could take a few moments from their busy day, and
>offer a few helpful suggestions to get me going...
>
>SQL Code is as follows...
>
>select *
>from (prdjrnusg A join jpldcusgsm B on A.pjstr# =
>B.jpstr#)
>   inner join pmlrd6 C on (C.rdicde = B.rdicde) and
>                         (C.rdsize = B.rdsize) and
>                         (C.rdrid  = B.rdrid)
>
>Thanks, tim...
--




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.