How to fix the Oracle error SQL-02155: Date Time Interval only valid with Dynamic=ANSI?
In this post, you’ll learn more about the Oracle ErrorSQL-02155: Date Time Interval only valid with Dynamic=ANSI with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
SQL-02155: Date Time Interval only valid with Dynamic=ANSI
Reason for the Error SQL-02155: Date Time Interval only valid with Dynamic=ANSI
Cause: An attempt to access the datetime interval code or precision was encountered when type_code option not set to ANSI
How to fix the Error SQL-02155: Date Time Interval only valid with Dynamic=ANSI ?
You can fix this error in Oracle by following the below steps
Action: Use precompiler option type_code=ansi to access the date time interval code or date time interval precision
Leave Your Comment