is there a way to call a function in Oracle using a dynamic variable name? I am trying to call DBMS_LOB.COPY with dynamic column 1...10.
I can do this :
DBMS_LOB.COPY(dynamicColumn1 , l_clob, n_size_clob, 1, clob_offset )
But I can't do
execute immediate 'select DBMS_LOB.COPY(dynamicColumn' || '1' || ', l_clob, n_size_clob, 1, clob_offset ) from dual;`
;) at the end of your SQL statementDBMS_LOB.COPY(dynamicColumn1 , l_clob, n_size_clob, 1, clob_offset )