If you delete a column from a key, the result varies depending on the type of constraint. This action has no effect on Check constraints. However, Foreign and Unique constraints cannot be updated in this way.
|
Type of |
|
|---|---|
|
Check |
Not applicable. |
|
Foreign and |
This action is not allowed because the rebind recreates the key as before resulting in a new KEY since the source of the constraints reflects the old column list. CA Datacom Datadictionary generates a DSF return code CON when you attempt to delete a column from a key defined with these constraints. Drop the constraint before deleting the column from the key. |
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|