Using the latest version (10.3.20905.0 as of this writing) of SQL Server Data Tools (SSDT) I found that when adding a database reference, if the SSDT project is for database A and I add a database reference for database B, I can write views or stored procedures in SSDT for database A that can reference tables in database B.The reason for this submission is that I cannot reference views in database B. If I create a view in database A with a reference to a view in database B, I'll get an error stating "SQL71561: View <schema>.<viewname> has an unresolved reference to object <$(database B)>.<referencedschema>.<referencedview>."The question, is this by design that a view can't reference a view from a database reference?
Product Language
Version
Category
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Platform
Virtualization