SQL Server 2005 Synonyms not supported in 3.5?
DavidHerbst
Posts: 13
I just upgraded to 3.5 but my table Synonyms are not showing up in the autocomplete candidate lists after the FROM or JOIN keywords are typed.
In addition, typing table Synonyms does not bring up an autocomplete candidate list of column names.
BTW these Synonyms are pointing to tables located in another database on the same server.
Is there some setting I'm missing which enables Synonyms support?
Are SQL Server 2005 Synonyms supported by SQL Prompt? If not, when will this support be added?
In addition, typing table Synonyms does not bring up an autocomplete candidate list of column names.
BTW these Synonyms are pointing to tables located in another database on the same server.
Is there some setting I'm missing which enables Synonyms support?
Are SQL Server 2005 Synonyms supported by SQL Prompt? If not, when will this support be added?
Comments
Thanks for your input, we always like to know what people are using SQL Prompt for.
Red Gate Software
What I don't understand is how the authentication and security issues would be different than the ones you've already solved for the "Cross database queries" support you added in the 3.5 release.
Synonyms are just aliases, authentication and security is still based on the underlying object they are pointing at. See code example below.
Am I missing something here?
E.g.
In your code example, I see what you're saying. But say the user opened this query from a file. He would need to immediately be prompted for authentication details for Adventureworks before Prompt could give meaningful intellisense. The problem we need to solve is that when opening a large file with lots of synonyms, the user would be immediately prompted with dozens of dialogs asking for passwords. So in some ways it's more of a usability issue than an engineering one.
Thanks again for your suggestions - this is precisely the sort of feedback we need to help build the next version!
Red Gate Software