FUNCTION appliedanalysis.DATE_FORMAT does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual