ORA-1861 During Import or Table Creation (Doc ID 431382.1)

Last updated on OCTOBER 27, 2008

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.1.0.6
This problem can occur on any platform.

Symptoms

You cannot create table with default value for columns of type DATE. Also when importing a dump file, the following errors are encountered:

IMP-00017: following statement failed with ORACLE error 1861:
" ALTER TABLE "tab1" MODIFY ("my_date" DEFAULT '1999/12/31 00:00:00')"
IMP-00003: ORACLE error 1861 encountered
ORA-01861: literal does not match format string
Import terminated successfully with warnings.

Cause

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