![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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? |
#3
| |||
| |||
|
|
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? |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |