I've created a PeopleSoft query using tables PS_VCHR_AF_XREF and PS_EOAW_USERINST. I'd like to do a
I've created a PeopleSoft query using tables PS_VCHR_AF_XREF and PS_EOAW_USERINST. I'd like to do a date calculation Current date - EOAWDTTM_MODIFIED from table PS_EOAW_USERINST. This field is also on PS_VCHR_AF_XREF so I just can't remove the alias from the expression.
Here is my expression ===> Trunc(sysdate) - Trunc(C.EOAWDTTM_MODIFIED).
I get this error:
Rerun Query
A SQL error occurred. Please consult your system log for details.
Error in running query because of SQL Error, Code=1722, Message=ORA-01722: invalid number (50,380)
Is there a way around this?