Hi All,
I have a table with a LONG field in it. The data in the long field exceeds 32,767 characters so I have not been able to use a cursor to fetch it and place it into a VARCHAR2 field. I have been reading that a CLOB/BLOB will let you perform RTRIM and DECODE on it. Is there any way I can get data from the LONG field, put it into a CLOB or BLOB so I can clean the data up, and then finally place it into a VARCHAR2 field so I can insert it into a new table?
Any help is appreciated!
Thanks.
I have a table with a LONG field in it. The data in the long field exceeds 32,767 characters so I have not been able to use a cursor to fetch it and place it into a VARCHAR2 field. I have been reading that a CLOB/BLOB will let you perform RTRIM and DECODE on it. Is there any way I can get data from the LONG field, put it into a CLOB or BLOB so I can clean the data up, and then finally place it into a VARCHAR2 field so I can insert it into a new table?
Any help is appreciated!
Thanks.