Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Finding length of xml or CLOB data type

TinaMay 16 2016 — edited May 17 2016

Hi  Gurus,

     What would be the best way to retrieve the length of a XML or CLOB data type?

     Could we simply use 'length' function?

    I have a scenario where I need to find a way to validate if the clob and xml column is valid or not?

    I cannot use simply 'is column null' logic because in some scenario, we might just get the header of the XML.

Thanks

Tina

This post has been answered by Paulzip on May 16 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2016
Added on May 16 2016
9 comments
4,324 views