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 -> Re: Bug? Determining lengths of CLOB's in trigger/Oracle 8.1.7

Re: Bug? Determining lengths of CLOB's in trigger/Oracle 8.1.7

From: Sybrand Bakker <gooiditweg_at_sybrandb.nospam.demon.nl>
Date: Fri, 21 Nov 2003 20:24:34 +0100
Message-ID: <adpsrvcfv4b3tpo9j5maf8o58uv4j1bahp@4ax.com>


On 21 Nov 2003 09:02:02 -0800, bbulsara23_at_hotmail.com (barry) wrote:

>I'd
>appreciate someone shining a light here if at all possible, or
>confirmation of the bug.

Likely the 'bug' consists of the combination of a 9i sqlloader connecting to a 8i database, and lousy trigger code. You shouldn't insert extra records in the table you are firing a trigger on, or you must at least make sure you use an autonomous transaction. I have the strange feeling when you just add an extra number column to the table, and manipulate the length column in a before insert trigger, as it should have been done in the first place, your so-called 'bug' disappears instantly.

--
Sybrand Bakker, Senior Oracle DBA
Received on Fri Nov 21 2003 - 13:24:34 CST

Original text of this message

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