Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Q: Oracle Row locking with Perl/DBI
Hi experts,
I am wondering if it is possible to implement an explicit row locking in Perl/DBI/DBD-Oracle as this can be done in Pro*C:
EXEC SQL DECLARE CURSOR c FOR SELECT x, y FROM tab FOR UPDATE
OPEN c
loop
FETCH [Do anything or wait for User actions] UPDATE tab SET y = ??? WHERE CURRENT OF cend loop
The DBD-Oracle interface is built upon OCI.
Best regards!
--
uwe.schneider_at_xlink.net
Received on Tue Jan 11 2000 - 09:40:07 CST
![]() |
![]() |