01-11-2018 03:33 PM - edited 01-11-2018 03:34 PM
Supposing we have a table A which has a field/column as foreign key but we don't need it anymore, what is the best practice to delete this field as foreign key in SAS DIS?
Going to the properties of the table and excluding it from the tab keys doesn't seem to be enough. Running the proc contents of the table B which has this field as primary key we still see the reference.
01-12-2018 12:33 AM
You are updating the metadata information when you are Going to the properties of the table and excluding it from the tab keys .
But physical table still has that properties.
I would suggest to make change in your physical dataset and then update table metadata.
01-15-2018 08:52 AM
I actually can't see anymore the foreign key in what I called table A.
The issue is that in table B, which has the primary key that is referred to the foreign key, I still see the referential constraint. How can I remove it without dropping and recreating the table B?