How can I prevent from removing a default Row in MySql ?
Assume, I have a record with 0 id, user can not insert any record with 0 id value, in some situation I use the default row value to show default setting. now I want to prevent from removing this row by user in Database Level.
I tried to use triger to do this, for example I checked in before delete the id value , if the id==0, then id=4444444..., in this situation no record will be deleted, because I set id with a non exists row id. But this method does not work;