ClaraBarton
Registered User.
- Local time
- Today, 11:06
- Joined
- Oct 14, 2019
- Messages
- 651
I have a table of locations. These locations are permanent and never removed.
I have inventory in those locations that often needs to be moved to another location.
Inventory has a foreign key tied to the primary key in locations.
If I want to move Inventory to a different location, all I need to do is change the foreign key.
With referential integrity I can't delete the foreign key. Or change it.
How would this be done?
I have inventory in those locations that often needs to be moved to another location.
Inventory has a foreign key tied to the primary key in locations.
If I want to move Inventory to a different location, all I need to do is change the foreign key.
With referential integrity I can't delete the foreign key. Or change it.
How would this be done?