How to get relationship diagram of primary and foreign key in two tables of a database in sql server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to get relationship diagram of primary and foreign key in two tables of a database in sql server



I have a doubt about sql server: how to get primary and foreign keys
of relationship of 2 tables in sql server except the way sp_help table name?


sp_help table name




1 Answer
1



You can use SchemaCrawler to generate a textual representation of your database schema including relationships indicated by foreign keys. You will need to install a Java runtime, though.



Sualeh Fatehi, SchemaCrawler






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS