When using the TRUNC() function, I want to intercept the date in the form of yyyyMMdd, so I use TRUNC(SYSDATE,'yyyyMMdd'), and the query error: ORA-01898: Too many precision specifiers.
Solution: The TRUNC(SYSDATE) function is to intercept today by default, so there is no need to specify the form later, just remove the'yyyyMMdd'.