Why is the GETDATE() an invalid identifier Why is the GETDATE() an invalid identifier oracle oracle

Why is the GETDATE() an invalid identifier


I think you want SYSDATE, not GETDATE(). Try it:

UPDATE TableName SET LastModifiedDate = (SELECT SYSDATE FROM DUAL);


Use ORACLE equivalent of getdate() which is sysdate . Read about here.Getdate() belongs to SQL Server , will not work on Oracle.

Other option is current_date


getdate() for MS-SQL, sysdate for Oracle server