My Oracle Support Banner

Datapump Export With FLASHBACK_TIME Fails With LRM-116 (Doc ID 806839.1)

Last updated on JULY 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [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
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
This problem can occur on any platform.


-- Problem Statement:
You are trying to take a datapump export from the command prompt on a Microsoft Windows system and want to use FLASHBACK_TIME but it fails with a syntax error.

$ expdp system/<PASSWORD> FLASHBACK_TIME="TO_TIMESTAMP('2009/03/31 14:00:00','YYYY/MM/DDHH24:MI:SS')" schemas=<SCHEMA_NAME> dumpfile=<FILENAME>.dmp

LRM-00116: syntax error at ')' following 'YYYY/MM/DD HH24:'


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.