Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert Long to Clob/Blob to Varchar2?

Status
Not open for further replies.

mortonsa

MIS
Apr 10, 2000
59
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top