oracle lob to long
If you can't make head nor tail of it, try this one : SQL> create table tbl_long (id number, text long); Table created. SQL> create table tbl_clob (id number, text clob); Table created. SQL> insert into tbl_clob select object_id, object_name from all_objects; 22074 rows created. SQL> select * from tbl_clob where rownum commit; Commit complete. SQL> SQL> declare 2 my_char varchar2(32000); 3 begin..