Removing HTML Tags from a varchar2 field
- From: the matt <matt@xxxxxxxxxxxxxx>
- Date: Thu, 09 Aug 2007 15:13:40 -0700
Hello,
I'm trying to take some HTML fields (varchar2) and strip out the HTML
formatting. The Policy_Filter seems to want to use a Blob, but I
don't have one to give it, so I've tried various variations of the
code below.
DECLARE
output_c clob;
input_b blob;
BEGIN
SELECT
SARQUAN_QUESTION into input_b
FROM
SATURN.SPRIDEN,SATURN.SARQUAN
WHERE spriden_id LIKE '%70%' AND spriden_pidm=sarquan_pidm;
CTX_DOC.POLICY_FILTER('test_policy', input_b, output_c, TRUE);
END;
/
Any thoughts?
I'm new to Oracle, so go easy on me please :)
Thanks for your help
Matt
.
- Prev by Date: Re: Rainbust your DBA; crack Oracle "system" password in mere minutes
- Next by Date: Re: Oracle 10g on Windows 2003 x64 Memory Useage
- Previous by thread: SELECT Field1, Field2....Fieldn FROM MyTable FOR UPDATE - Question about concurrency.
- Next by thread: 11g Released Today
- Index(es):
Relevant Pages
|