I'm trying to compare the column: LastUpdated
with todays date in days, rounded to 1 decimal place. I keep getting the error
ERROR at line 4:
ORA-00904: "DATEDIFF": invalid identifier
Any ideas?
SELECT
DISTINCT "AppName",
"ApprovedForRelease",
DATEDIFF(DAY,"LastUpdated",GETDATE()) AS "DaySinceUpdated"
FROM BR_APP
WHERE "ApprovedForRelease" = 'Y';