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: Fri, 20 May 2005 23:50:34 -0700
Message-ID: <1116657971.146176@yasure>


whitegoose_at_inorbit.com wrote:
> I have searched high and low for an answer to this, can anyone help?
>
> I am writing a BEFORE INSERT trigger on a table with a calumn called
> COMMENTS which is of type CLOB. I need to assign a value (another CLOB
> from a different table) to :new.COMMNETS - but I understand this is a
> problem in Oracle 8.
>
> There must be a way to do this. I am aware of DMBS_LOG but I can't
> manage to get it working.
>
> Does anyone have a solution?

What version
What problem
What DDL
What DML
What does DBMS_LOG, which doesn't exist, have to do with anything?

PS: No column should ever be named COMMENTS. If it is, for example, the person table, name the column PERSON_COMMENTS.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Sat May 21 2005 - 01:50:34 CDT

Original text of this message

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