We are trying to convert our OAS reports to OAC and one of the parameters in the where clause of the report is what I am trying to make in OAC. I created a calculation as follows and I am trying to put it into a filter . The code validates
EVALUATE('GREATEST (
TRUNC (
NVL (%1,
TO_DATE (''1/1/2013'', ''mm/dd/yyyy'')
)
),
TRUNC (
NVL (%2, TO_DATE (''1/1/2013'', ''mm/dd/yyyy'')
)
)
) >= TO_DATE (''1/1/2024'', ''mm/dd/yyyy'')
)' AS DATE , Last Activity Date", MAXDT")
and get the following error
Error during query processing (SQLExecDirectW). |
|---|
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. |
(HY000) |