Thread: Resolved locking a row
View Single Post
Old 02-19-2013, 11:36 PM   PM User | #1
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
locking a row

im considering locking one row to a table so that the table will always have a default value.

im sure i can lock the table itself, and i know i can just use php to find the value and reject any delete query, but can i lock a single row id so that it cannot be removed just in the table config itself?

Last edited by durangod; 02-20-2013 at 02:16 AM..
durangod is offline   Reply With Quote