Red Gate forums :: View topic - JOIN condition limited to immediate previous table
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt Previous Versions
SQL Prompt Previous Versions forum

JOIN condition limited to immediate previous table

Search in SQL Prompt Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
kevriley



Joined: 07 Apr 2009
Posts: 70
Location: UK

PostPosted: Thu Oct 14, 2010 3:43 pm    Post subject: JOIN condition limited to immediate previous table Reply with quote

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)
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 688
Location: Cambridge

PostPosted: Mon Oct 18, 2010 11:07 am    Post subject: Reply with quote

Many thanks for your email.

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.
_________________
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
Matthew.Wilkerson



Joined: 05 May 2006
Posts: 31
Location: Tumwater, WA

PostPosted: Mon Oct 18, 2010 10:38 pm    Post subject: Reply with quote

It would be a huge help if SQL Prompt did this. This seems to be a big oversight, as many of our SQL queries do not just join to the previous table. Prompt SQL had provided this functionality. Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group