Reader comment: Converting CLOB will cause truncating

I have read your answer to the question, "Is it possible to do a UNION of two Oracle8i views where there are CLOB fields involved?" and I think it's not as simple as converting the CLOB into a character datatype. This is because this conversion will truncate your CLOB to 4,000 characters. And CLOB are indeed interesting when the strings are bigger than 4000 positions! I would appreciate your opinion on my comment.

    Requires Free Membership to View

You are correct in that converting the CLOB to a character database will truncate anything over 4,000 characters. If your CLOBs are bigger than that, then you will not be able to use them in the UNION statement. You will have to employ some other work around in your application.

This was first published in February 2004

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.