|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Locking a tuple
Hello All,
Is there a way to lock a tuple (i.e. make it uneditable)? An example of what I would like is something equivalent to: UPDATE ORDERS O "LOCK" O WHERE O.<the primary key x> = <the primary key x>; Thank you Chris |
|
#2
|
|||
|
|||
|
cheesey solution
it would be cheesey but you could just put a trigger on the table to overwrite whatever was updated back to the old.value...we use this to make sure that developers do not update our create_date columns on records.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > Locking a tuple |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|