SQL Prompt doesn't refresh suggestions in VS 16.11.11 when current database changes
JoeSchmoe007
Posts: 10 Bronze 1
If I right-click on SQL Server in Visual Studio and select "New Query" the master database opens initially because it is default.
I then select another database in "Available databases" drop-down however suggestions don't refresh. "SELECT * FROM " doesn't offer any tables from the database I just selected. I have to refresh suggestions manually.
Please note that Apex SQL Complete was able to do this for years. So it must be possible to detect when current database changes.
NOTE: suggestions do refresh automatically when "Change Connection" is used. But not when database is switched via drop-down.
I then select another database in "Available databases" drop-down however suggestions don't refresh. "SELECT * FROM " doesn't offer any tables from the database I just selected. I have to refresh suggestions manually.
Please note that Apex SQL Complete was able to do this for years. So it must be possible to detect when current database changes.
NOTE: suggestions do refresh automatically when "Change Connection" is used. But not when database is switched via drop-down.
Tagged:
Answers