↧
Answer by Vinay Pai for Protecting specific object id from being deleted in...
You can do this by creating another table which references this table with a FOREIGN KEY constraint, and ON DELETE RESTRICT.CREATE TABLE protected_objects ( obj_id INT FOREIGN KEY(obj_id) REFERENCES...
View ArticleProtecting specific object id from being deleted in MySQL
I have 97 objects ranging from id=1 to id=97 in my database that contain core data. Is there any way to protect only these objects (=equals the column name) from being deleted, but not the entire...
View Article