Ask the Expert

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: