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

Multi tool use
Multi tool use

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.

Iey4qQkRk 9EXCAEr7P OwDfgA1tcG8J 1kKU a C,3yWY,VYlCVNV,D m88BDL2YzBs4d4TJAD
U1Z8vr auZNQSjS evga,b4BST4ANmR

Popular posts from this blog

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

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3