Author |
Message |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
[9.0.157 BETA] Join suggestions missing? |
|
I just updated since I see we are nearing the beta period so I figured it was bug free/stable enough.
In testing I am not getting join suggestions like normal?
Previously if I typed out:
"select runno from analrun as ar
inner join analrunseq as ars
on" and hit space.
it would suggest ars.RunNo = ar.RunNo.
Now I get no suggestions?

|
|
Thu Oct 06, 2016 3:36 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
Resetting the config did nothing for this.
|
|
Thu Oct 06, 2016 3:39 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Which database server version is that?
Target environment version?
|
|
Thu Oct 06, 2016 3:44 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
 |
 |
Which database server version is that?
Target environment version? |
Microsoft SQL Server 2008 (SP3) - 10.0.5841.0 (X64) May 25 2013 08:45:39 Copyright (c) 1988-2008 Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2) (VM)
Target Environment is the 64 bit SQL Editor that comes with SQL Assistant 9. But it also doesn't have the joins in SSMS which is: Microsoft SQL Server Management Studio 10.50.4042.0 (32 bit)
|
|
Thu Oct 06, 2016 3:45 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I'm unable to reproduce your results.
Please try importing factory default configuration.
Try a different database to see if it's database or schema specific.
|
|
Thu Oct 06, 2016 3:54 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
 |
 |
I'm unable to reproduce your results.
Please try importing factory default configuration.
Try a different database to see if it's database or schema specific. |
I did reset factory (see post 2)
|
|
Thu Oct 06, 2016 3:55 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
Tried another database (that I am not super familiar with or anything) but also did not get join suggestions.
|
|
Thu Oct 06, 2016 4:00 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Hmm.. Not sure what else to suggest. Maybe a restart would help, clear some caches.
To the best of my knowledge nothing changed in that area.
|
|
Thu Oct 06, 2016 4:11 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
 |
 |
Hmm.. Not sure what else to suggest. Maybe a restart would help, clear some caches.
To the best of my knowledge nothing changed in that area. |
Ok, I've:
Uninstalled
Restarted
Deleted %APPDATA%\SQL Assistant*
Deleted C:\ProgramData\SQL Assistant*
restarted again
re-loaded sql assistant with defaults.
no join suggestions.
|
|
Thu Oct 06, 2016 4:14 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
 |
 |
Hmm.. Not sure what else to suggest. Maybe a restart would help, clear some caches.
To the best of my knowledge nothing changed in that area. |
A couple things changed when I compare the MSSQL Joins from 7.x and 9.x, but nothing major.
I'm at a loss here...
|
|
Thu Oct 06, 2016 4:42 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
There are still couple of things that could be checked.
Please check SqlAssist.log file under %APPDATA%\SQL Assistant\9.0 that there ate no exceptions logged.
Validate Joins (MSSQL) query in the Options -> DB Options -> DB Queries. It should return some results if you replace :OBJECT_ID with id of your table with foreign keys.
|
|
Thu Oct 06, 2016 4:43 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
 |
 |
There are still couple of things that could be checked.
Please check SqlAssist.log file under %APPDATA%\SQL Assistant\9.0 that there ate no exceptions logged.
Validate Joins (MSSQL) query in the Options -> DB Options -> DB Queries. It should return some results if you replace :OBJECT_ID with id of your table with foreign keys. |
this is literally the only thing that changed according to BC4.

|
|
Thu Oct 06, 2016 4:45 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
 |
 |
There are still couple of things that could be checked.
Please check SqlAssist.log file under %APPDATA%\SQL Assistant\9.0 that there ate no exceptions logged.
Validate Joins (MSSQL) query in the Options -> DB Options -> DB Queries. It should return some results if you replace :OBJECT_ID with id of your table with foreign keys. |
Hrmm. Ok nothing with the word 'exception' in it in the log.
But the second part... might be bingo. But why would it work before?
I inherited this DB from previous developers, it was grown from an Access Front end.
Referential integrity was done at that time via triggers, there are NO Foreign Keys in the database unless I have added them (and I don't think I've added any/many to avoid confusion).
So the question becomes is why did it work before? It used to join on fields with the same name, or like Data Types at the very least.
|
|
Thu Oct 06, 2016 4:48 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
Here's a screenshot I have from way back with SQL Assistant 6.4
So it did work, previously without PK/FK relationships.
|
|
Thu Oct 06, 2016 4:54 pm |
|
 |
Mindflux
Joined: 25 May 2013 Posts: 846 Country: United States |
|
|
|
The 9.x help mentions:
In addition to using referential integrity definitions for JOIN clause suggestions, SQL Assistant can use columnname matches.
SQL Assistant uses color-coded styles to distinguish between different suggestion types.
|
|
Thu Oct 06, 2016 4:56 pm |
|
 |
|