Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> CLOB Replacement - RTF format data

CLOB Replacement - RTF format data

From: jeremy <jeremy0505_at_gmail.com>
Date: Mon, 12 Nov 2007 08:32:15 -0800
Message-ID: <1194885135.210135.261350@v2g2000hsf.googlegroups.com>


Hi Folks

We have a requirement to be able to take a .rtf file (which we are storing in the database as a BLOB) and do a set of replacements (e.g. [last_name] will become smith) based on the data in some rows in Oracle. We thought this would be really simple - put the content into a CLOB, use a replace function (home-grown function) to replace the place-holders with the data and then move it back into the BLOB.

Except this doesn't seem to work consistently.

Before I go into any more details, wondering if any of you have done something similar and have it working reliably? Somehow it appears that we are sometimes "corrupting" the RTF so that the file, although complete, will not render correctly anymore. Is there anything "funny" about .rtf format that we should be paying particular attention to? It seems stange as we have no issues replacing text in other CLOBs.

This is on 9iR2

Thanks for any help

--
jeremy
Received on Mon Nov 12 2007 - 10:32:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US