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!

Replace a string in CLOB

690792Apr 21 2010 — edited Apr 21 2010
Hi
I have a CLOB with some text.
DECLARE
  result CLOB;
BEGIN
result:='I need to replace this <my_tag>Everything can be here </my_tag>';
-- Some operation to replace '<my_tag>Everything can be here </my_tag>' with '<It works/>'
DBMS_OUTPUT.PUT_LINE(result); --I want 'I need to replace this <It works/>' to be here
END;
I do not know what text is between <my_tag> and </my_tag> but I need to replace it.
Is it possible?
This post has been answered by odie_63 on Apr 21 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2010
Added on Apr 21 2010
2 comments
19,464 views