Diagram Inter-Database Virtual Relations
Diagram Inter-Database Virtual Relations
The database diagram tool allows me to add tables from multiple databases onto the same diagram. However, I am unable to create a virtual relation between tables from different databases. Is there any way I can create/display this inter-database relation in the diagram?
Re: Diagram Inter-Database Virtual Relations
Could you please let us know what do you need this for?
The problem is that SQL Server itself doesn't allow cross-database FK.
The problem is that SQL Server itself doesn't allow cross-database FK.
Re: Diagram Inter-Database Virtual Relations
True, but I'm not doing a FK. I'm wanting to add a virtual foreign key to show the implied relationships between tables in multiple databases. I have a transactional database that I need to show how some of those tables relate to a database that has more static data.
We don't use foreign keys in our databases because, right or wrong, we'd rather leave the control with the developer instead of the dbms.
We don't use foreign keys in our databases because, right or wrong, we'd rather leave the control with the developer instead of the dbms.
Re: Diagram Inter-Database Virtual Relations
Thank you for the reply.
Could you please still tell us what do you need this for?
Could you please still tell us what do you need this for?
Re: Diagram Inter-Database Virtual Relations
If you read my earlier reply, I tell you why I need it. I need to show the implied relationships that exist between the databases. For example: DatabaseA.dbo.TableA.TableAid = DatabaseB.dbo.TableB.TableAid
Re: Diagram Inter-Database Virtual Relations
Thank you for the reply.
There is no such a possibility. Though, you can add a suggestion on the UserVoice forum where other users can vote for it https://devart.uservoice.com/forums/177 ... sql-server
We collect and analyze the information from this forum in order to make a proper roadmap for the next product versions.
There is no such a possibility. Though, you can add a suggestion on the UserVoice forum where other users can vote for it https://devart.uservoice.com/forums/177 ... sql-server
We collect and analyze the information from this forum in order to make a proper roadmap for the next product versions.