Let's Talk about .. SQL Server 2005-Foreign Key
Foreign key is used to reference between two tables in the relational database. Foreign key has to be a primary key or the unique key of a referenced table. P'Kaew taught me how to make a relationship between tables in SQL Server 2005. The instruction about how to create the Foreign key- Right click at which column attribute you want it to be a foreign key.
- Click Relationships.
- Click Add in the Foreign Key Relationships.
- Click the ... button.
- Select the table and the attribute to be a foreign key.
No comments:
Post a Comment