I guess the answer depends on your DBMS (Oracle versus SQL Server).
As GETDATE() does not work, I assume that you're using Oracle. If that's the case, use SYSDATE instead of GETDATE().
As GETDATE() does not work, I assume that you're using Oracle. If that's the case, use SYSDATE instead of GETDATE().