CLOB DATA TYPE INTO VARCHAR2
Hi All
I have a table with a CLOB Column (SENDER_COMMENTS). A trigger is associated with that table, which sends email on insertion and updation.
I have used
EMAIL_BODY := DBMS_LOB.SUBSTR(:NEW.SENDER_COMMENTS,4000,1); In Trigger to pick this column data into a Varchar2 variable (EMAIL_BODY).
At Insertion time, It sends blank/null value, whereas at Updation time it sends proper value.
Please guide where I am doing wrong?
Regards