Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> PL/SQL problem: DMBS_SQL
Hi all,
I'm having trouble with the following code snippet for PL/SQL on Oracle8 for NT:
dbms_sql.column_value_long(v_cursor_id, 1, 1023, 1, v_chunk_buffer, v_num_read); -- v_chunk_buffer := 'Nulled test');
ie. "Please put positions 1 trough 1023 into v_chunk_buffer from the 1st column in
cursor."
The dynamic cursors have been working fine for all other attribute types
and
I know the LONG is much longer that 1023 (about 5k, actually).
The v_num_read = 1023 after the evaluation. If I un-comment the line
above the put(),
it writes the 'Nulled test' string ok to the file. As shown, I get:
ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "SYS.UTL_FILE", line 93 ORA-06512: at "SYS.UTL_FILE", line 175 ORA-06512: at line 31
Very strange indeed. Received on Fri Apr 24 1998 - 23:02:12 CDT
![]() |
![]() |