当对话使用for update子串打开一个游标时, 
所有返回集中的数据行都将处于行级(Row-X)独占式锁定, 
其他对象只能查询这些数据行,不能进行update、delete或select...for update操作。

解决方案 »

  1.   

    这么说of column没有用啊?那还写这个参数干吗?都是锁定这一行?我就是这点不明白.因为我试了,加不加of column都一样.
      

  2.   

    只见过update of column,是在为视图更新建立触发器时才用的
      

  3.   

    看来,那个选项 of coulumn真的不知道怎么办了.有高手指点一下没有?
      

  4.   

    个人感觉一样的,不写 of column 也一样.也许是为了标识要修改的列,好看???呵呵~~
      

  5.   

    Use the OF ... column clause to lock the select rows only for a particular table or view in a join. The columns in the OF clause only indicate which table or view rows are locked. The specific columns that you specify are not significant. However, you must specify an actual column name, not a column alias. If you omit this clause, then the database locks the selected rows from all the tables in the query.