Synonyms in SQL Visual Studio projects - what workaround to use?
In my solutions for the implementation of IT systems (data warehouses) based on MS SQL servers, I use synonyms (references to tables from other servers). My problem is that I can't explicitly add this information to the code version control system, which is the SQL project in Visual Studio. This causes a problem - because these synonyms are not visible in the project metadata (errors, warnings) and I don't want to add them as tables (CREATE TABLE..) because they overlap during "deploy". Has anyone had a similar problem? Any suggestions?
In my solutions for the implementation of IT systems (data warehouses) based on MS SQL servers, I use synonyms (references to tables from other servers). My problem is that I can't explicitly add this information to the code version control system, which is the SQL project in Visual Studio. This causes a problem - because these synonyms are not visible in the project metadata (errors, warnings) and I don't want to add them as tables (CREATE TABLE..) because they overlap during "deploy". Has anyone had a similar problem? Any suggestions?
1 user upvote it!
1 answer