 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
fificito
Joined: 10 Dec 2013 Posts: 5 Country: Mexico |
|
Table name qualifying on joins |
|
Hi, there is a problem when doing joins. When I select the joining fields in a pair of tables, the second table is quelified with TbleMane.dbo.TableName. For example:
Instead of petrored.dbo.tbl_Agents
I get
tbl_Agents.dbo.tbl_Agents
Any ideas?
|
|
Tue Dec 10, 2013 5:47 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Can you please post an example of what you have before you select the join, or the columns, I'm not sure I understand the sequence of your actions.
|
|
Tue Dec 10, 2013 6:40 pm |
|
 |
fificito
Joined: 10 Dec 2013 Posts: 5 Country: Mexico |
|
|
|
Let's say I have 2 tables: tbl_Agents and tbl_Order. tbl_Orders has a foreign key to tbl_Agents. When I type SELECT * FROM tbl_Agents JOIN,
I get a hint to join with tbl_Orders and a plus (+) sign inside which are the 2 fields that form the foreign key.
If I double click on these fields, the resulting statement would be:
SELECT * FROM tbl_Agents AS a
JOIN tbl_Orders.dbo.tbl_Orders AS o on a-ID_Agent = o.ID_Agent
Clearly, this is wrong.
|
|
Tue Dec 10, 2013 6:50 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Thank you. Which version are you running?
|
|
Tue Dec 10, 2013 7:12 pm |
|
 |
fificito
Joined: 10 Dec 2013 Posts: 5 Country: Mexico |
|
|
|
version 6.5.258
|
|
Tue Dec 10, 2013 7:17 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I'm able to reproduce this issue. This is clearly a bug. I have logged a high priority ticket #SA0022889 to have this issue fixed as quickly as possible.
|
|
Tue Dec 10, 2013 9:32 pm |
|
 |
fificito
Joined: 10 Dec 2013 Posts: 5 Country: Mexico |
|
|
|
Thanks. Where can I get updates on the process to fix bugs?
|
|
Wed Dec 11, 2013 12:14 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
The software itself will notify you when a new update is available.
|
|
Wed Dec 11, 2013 3:20 pm |
|
 |
fificito
Joined: 10 Dec 2013 Posts: 5 Country: Mexico |
|
|
|
Thanks
|
|
Thu Dec 12, 2013 10:00 am |
|
 |
|
|
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
|
|
|