Why is the GETDATE() an invalid identifier

前端 未结 4 1973
独厮守ぢ
独厮守ぢ 2020-12-10 13:28

Why is the GETDATE() an invalid identifier says Oracle Sql Developer tool when I debug this code:

CREATE OR REPLACE TRIGGER SPName
AFTER UPDATE
ON TableName          


        
4条回答
  •  感情败类
    2020-12-10 13:45

    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

提交回复
热议问题