Dropping foreign key
To drop a foreign key:
Procedure
- Log on to the MXDM.
-
In the Navigation tree pane, click
Database.
MXDM displays a list of available systems in My Systems.
-
Expand a selected system in the navigation tree.
List of catalogs for the selected system appears.
-
Click and expand the contents of a Catalog.
The list of schemas appears.
-
Expand a schema in the left pane.
The Tables folder appears.
- Expand the Tables folder and select a table in the left pane.
-
Right-click the table and select
Alter Table from the context menu.
NOTE:
Drop Foreign key menu is enabled only if the table contains a foreign key.
-
Select
Drop Foreign Key.
Drop Foreign Key dialog appears.
- Select a foreign key.
-
Select either of the following:
-
Restrict: If constraints are dependent on this constraint, it cannot be dropped.
-
Cascade: If referential constraints are dependent on this constraint, those dependent constraints are dropped along with the specified constraint being dropped.
-
- Click Drop button to drop the selected foreign key