1st
step: Make new Database Diagram
2nd step: Add required tables in diagram
3rd step: Click on the Primary key Icon
4th step: The relationship Icon is visible now
5th step: Press the Left Key of Mouse/Touch pad on the relationship Icon and drag towards the other table drop at the field which you want to use as foreign key
6th step: Tables and Columns Relationship window is visible, now click OK button
7th step: Click on the Insert and Update Specification
8th step: Change the Delete Rule to Cascade from No Action if and only if you want to delete foreign key record if primary key record is deleted
9th step: Change the Update Rule to Cascade from No Action if and only if you want to update foreign key row if primary key row is updated
10th step: Press OK button
11th step: A connection is visible between two tables and save the diagram to effects on the tables by pressing CTRL+S
2nd step: Add required tables in diagram
3rd step: Click on the Primary key Icon
4th step: The relationship Icon is visible now
5th step: Press the Left Key of Mouse/Touch pad on the relationship Icon and drag towards the other table drop at the field which you want to use as foreign key
6th step: Tables and Columns Relationship window is visible, now click OK button
7th step: Click on the Insert and Update Specification
8th step: Change the Delete Rule to Cascade from No Action if and only if you want to delete foreign key record if primary key record is deleted
9th step: Change the Update Rule to Cascade from No Action if and only if you want to update foreign key row if primary key row is updated
10th step: Press OK button
11th step: A connection is visible between two tables and save the diagram to effects on the tables by pressing CTRL+S
0 comments:
Post a Comment