select for update with ruby oci8
Posted
by ash34
on Stack Overflow
See other posts from Stack Overflow
or by ash34
Published on 2010-04-16T22:14:58Z
Indexed on
2010/04/17
4:43 UTC
Read the original article
Hit count: 259
how do I do a 'select for update' and then 'update' the row using ruby oci8.
I have two fields counter1 and counter2 in a table which has only 1 record. I want to select the values from this table and then increment them by locking the row using select for update.
thanks.
© Stack Overflow or respective owner