本文通过一个具体的实例来解决Oracle数据库如休在查询记录时给记录加锁呢? 系统环境 1、操作系统:Windows 2000 。 2、数据库: Oracle 8i R2 (8.1.6) for NT 企业版。 3、安装路径:C:\Oracle。 实现方法 利用SELECT的FOR UPDATE子句实现: conn system/manager--创建实验用户grant connect,resource to test identified by test;conn test/test--创建实验表1create table a(a number);ins...
[ 查看全文 ]