JOIN condition limited to immediate previous table
kevriley
Posts: 129 Gold 1
A suggestion...
when suggesting the final join conditions for the following
select *
from tableA
join tableB on tableA.Aid = tableB.Aid
join tableC on tableB.Bid = tableC.Bid
join tableD on .......
SQL Prompt tries only to find matches between tableD and tableC, although in this case there is a link between tableA and tableD (infact there is even a FK relationship between the two)
when suggesting the final join conditions for the following
select *
from tableA
join tableB on tableA.Aid = tableB.Aid
join tableC on tableB.Bid = tableC.Bid
join tableD on .......
SQL Prompt tries only to find matches between tableD and tableC, although in this case there is a link between tableA and tableD (infact there is even a FK relationship between the two)
Comments
This is the way currently SQL Prompt is designed to behave.
We appreciate your feedback and hence logged this as a feature request in our internal tracking system whose tracking id is SP-3530.
It will be reviewed by product manager and than marked for the release.
I will update you as soon as it is incorporated.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com