Problem IBM datastage with oracle
I have two server, in the first server is QA and this statements execute without problems
SELECT ID_SOLI,
MAX(ID_NOTI) AS ID_NOTI
FROM #$PRM_ORA_SCHE_OTS#.OTS_MAE_MENS
GROUP BY ID_SOLI
But in the second server, tis statements finished with error:
ora_OTS_MAE_MENS,0: The OCI function OCIStmtFetch2 returned status 1. Error code: 24347, Error message: ORA-24347: Warning of a NULL column in an aggregate func
ora_ODS_DEMANDA,0: The OCI function OCIStmtExecute returned status 1. Error code: 1400, Error message: ORA-01400: cannot insert NULL into ("ODSBISYS"."ODS_DEMANDA"."ID_EXPE").
Both server has same versions, same data source, same structurs and the user have same privilegies.