"Define Timestamp" Shows Different Result From SQL Developer and SQLPLUS
Last updated on JUNE 02, 2014
Applies to:Oracle SQL Developer - Version 3.2 and later
SQL*Plus - Version 220.127.116.11 and later
Information in this document applies to any platform.
Scripts containing "Define timestamp" as
DEFINE <variableName> = timestamp '2014-04-01 00:00:00';
Which is required for a scheduled job, Is developed and tested fine on SQL Developer.
However when running same script from SQL*Plus, it throws exception
Error: ORA-00904: "TIMESTAMP": invalid identifier
Scripts working at SQL Developer now moved to SQL*Plus
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms