ORA-00984 column not allowed here ERROR in Alerts

ERROR:- ORA-00984 column not allowed here ERROR in Alerts
ERROR:- APP-ALR-04020: Oracle Alert was unable to execute "&VALUE".


ERROR LOG:-

ALECDC: Check Periodic Alert
+---------------------------------------------------------------------------+

Current system time is 19-MAY-2019 14:01:25

+---------------------------------------------------------------------------+


PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.

values (7782, CLARK, 2450, 19-MAY-19 )
                              *
ERROR at line 2:
ORA-00984: column not allowed here


APP-ALR-04020: Oracle Alert was unable to execute "&VALUE".  
Check that this file exists and that its read protection is set correctly. 
(ROUTINE=alssoa) (FILE=5244221/alr/lib/alspsa.c) (LINE=400)
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
--====================================================================

when we are using our out variables without using single cotes

ERROR Ex:-
insert into XXSD_EMP_ALERT_HISTORY_TL
VALUES (&EMP_NO, &EMP_NAME, &EMP_SAL, &ALERT_DATE );

The solution is:-

insert into XXSD_EMP_ALERT_HISTORY_TL
values ('&EMP_NO', '&EMP_NAME', '&EMP_SAL', '&ALERT_DATE' );

Comments

Popular posts from this blog

E-Text Report In Fusion | Types of E-Text reports

Supplier API's

How to pass default Parameter in cursor