DBMS_SQL.COLUMN_VALUET用来返回数据
DBMS_SQL.VARIALBE_VALUE:当需要输出绑定变量时该语句用于决定被修改后的绑定变量的值。

解决方案 »

  1.   

    VARIABLE_VALUE, COLUMN_VALUE, or COLUMN_VALUE_LONG 
    For queries, call COLUMN_VALUE to determine the value of a column retrieved by the FETCH_ROWS call. For anonymous blocks containing calls to PL/SQL procedures or DML statements with returning clause, call VARIABLE_VALUE to retrieve the values assigned to the output variables when statements were run. To fetch just part of a LONG database column (which can be up to two gigabytes in size), use the COLUMN_VALUE_LONG procedure. You can specify the offset (in bytes) into the column value, and the number of bytes to fetch.