ORA-1861 During Import or Table Creation
(Doc ID 431382.1)
Last updated on APRIL 03, 2020
Applies to:
Oracle Database Cloud Exadata Service - Version N/A and laterOracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.1.0.6 [Release 10.2 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Information in this document applies to any platform.
This problem can occur on any platform.
NOTE: In the images and/or the document content below, the user information and data used represents fictitious data .Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
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.
" 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.
Changes
NONE
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |