All,
I have a table with some data in it, that is loaded whenever a new system is installed. It defines some standard items which will be useful for the life of the application, and should therefore never be altered or deleted.
However, users can legitimately configure their own standard items, which obviously belong in the same table, as they have an identical structure.
How best can I prevent users altering or deleting the standard rows, but still let them insert, update and delete on their own user-configurable rows?
I don't want to go the trigger route, ideally I'd like to do this with some sort of structure, e.g. make the table partitioned, and put the fixed rows in a partition in a read-only tablespace.
any ideas?
Regards
Tharg
Grinding away at things Oracular
I have a table with some data in it, that is loaded whenever a new system is installed. It defines some standard items which will be useful for the life of the application, and should therefore never be altered or deleted.
However, users can legitimately configure their own standard items, which obviously belong in the same table, as they have an identical structure.
How best can I prevent users altering or deleting the standard rows, but still let them insert, update and delete on their own user-configurable rows?
I don't want to go the trigger route, ideally I'd like to do this with some sort of structure, e.g. make the table partitioned, and put the fixed rows in a partition in a read-only tablespace.
any ideas?
Regards
Tharg
Grinding away at things Oracular