Print Thread
Auto join function - New feature
#16848 12/08/04 06:50 PM
Joined: Nov 2004
Posts: 9
England
W
wardy Offline OP
Member
OP Offline
Member
W
Joined: Nov 2004
Posts: 9
England
Is there a possiblilty of incorporating an auto table join based on the foriegn keys and columns on a table. The way i see it could work is when you have a table is your from statement could you highlight and right click on the table name and then get a list of tables that are joined to / from it. Then when you select the table the table and joins are automatically added to your query. Just an idea.

Re: Auto join function - New feature
#16849 12/08/04 08:05 PM
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Member
Offline
Member
Joined: Jul 2003
Posts: 1,140
Virginia, USA
It probably could, since once the query results are displayed there is a 'linked query' button that I think does what you are asking for (though not exactly)


Scott Mattes
Re: Auto join function - New feature
#16850 12/08/04 10:26 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
The Query Builder does support this though. If you add tables to your query, it will automatically create a join.


Marco Kalter
Allround Automations
Re: Auto join function - New feature
#16851 12/10/04 01:10 PM
Joined: Nov 2004
Posts: 9
England
W
wardy Offline OP
Member
OP Offline
Member
W
Joined: Nov 2004
Posts: 9
England
Hi, Never even thought about using query builder. Always start with a new SQL window. Cheers Mark

Re: Auto join function - New feature
#16852 12/10/04 05:28 PM
Joined: Jan 2003
Posts: 46
J
Member
Offline
Member
J
Joined: Jan 2003
Posts: 46
Wardy is right. I find it inconvenient to add tables from the left list instead of selecting a foreign key column and have a list of tables that are joined to and from it. You have all the infos in the Sql/window with the linked query button.

When are you going to add the following features:
1) handling of (left/right/inner) joins
2) handling of column aliases
3) subquery

We use left and right joins instead of (+) for more than a year making the query builder nearly useless.

Re: Auto join function - New feature
#16853 12/10/04 08:44 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
It's on our to-do list.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.025s Queries: 13 (0.009s) Memory: 2.5190 MB (Peak: 3.0427 MB) Data Comp: Off Server Time: 2024-05-18 09:15:37 UTC
Valid HTML 5 and Valid CSS