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

Home -> Community -> Usenet -> c.d.o.misc -> Re: CLOBs in Triggers - assigning to :new.XXXX

Re: CLOBs in Triggers - assigning to :new.XXXX

From: DA Morgan <damorgan_at_psoug.org>
Date: Tue, 24 May 2005 22:11:55 -0700
Message-ID: <1116997648.687857@yasure>


whitegoose_at_inorbit.com wrote:
> The Version is 8.1.7
>
> The problem is that Oracle 8 does not allow :NEW.XXXX to be updated
> from a trigger where XXXX is a CLOB field.
>
> My apologies, it was a typo - I meand DBMS_LOB - a package used for
> mainpulating LOBs and CLOBs.
>
> I can't provide DML and DDL because I'm not after a solution to a
> specific problem, I just wanted to know if anyone had a solution for
> updating CLOB fields from a trigger on the same table. (eg. Yes you can
> do it - use DBMS_LOB.WRITE to update the field)
>
> I do not have a choice about the name of the COMMENTS field.
>
> Thanks,
> Josh.

Which means it is really important to have a version of Oracle that supports LOBs.

-- 
Daniel A. Morgan
Relational theory is not something that is simply a nice-to-have.
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Wed May 25 2005 - 00:11:55 CDT

Original text of this message

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