My Oracle Support Banner

Data Pump Export Hits SQL Syntax Errors When QUERY Clause Is Greater Than 2000 Bytes (Doc ID 977713.1)

Last updated on MAY 12, 2021

Applies to:

Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.1.0.7 [Release 10.2 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to 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 are trying to perform a Data Pump export (expdp) and you encounter SQL syntax errors such as ORA-00904 or ORA-907 or ORA-920 when using the QUERY parameter where the text is greater than 2000 bytes.



Changes

 

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!


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