Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

identifier is too long: expdp filtering using QUERY off TABLES=

3037890Sep 23 2015 — edited Sep 25 2015

All,

I am running a large expdp job using a .bat file. An example of one of the lines is this:

expdp "'/ as sysdba'" directory=IMPORT_DB dumpfile=vismag_brightness%%U.dmp logfile=vismag_brightness.log compression=ALL TABLES=sat_cat_owner.vismag_brightness QUERY=sat_cat_owner.vismag_brightness:'\"where exists (select visual_magnitude_uuid from sat_cat_owner.visual_magnitude where sat_cat_owner.visual_magnitude.visual_magnitude_uuid=sat_cat_owner.vismag_brightness.visual_magnitude_uuid)\"'

Running the .bat results in this:

OracleExportDataPumpIssues.png

I then tried to put it into a parameter file. As you can still see in the above picture, it previously gave me an error, but I fixed that and it still gave me the same error. The query was the same as above, only did not have the escape backslashes.

Now because of this, I am certain I am escaping right. Now I just need to find the reason for the identifier being too long.

Below is an image showing other wierd behavior, when trying to simplify the query to see if its because the query is too long. AND if it is because its too long...how to I can the config so it can handle it?

OracleSimpler.png

The difference in the above picture, is that the first try has only \"....while the second has what was working for me before above (if I try without the single quotes, it fails on quoting issue for the large query). So the second cmd, like I said, has '\" instead of just \"...and it doesnt work! When it does above for the larger query, but that gives that separate error.

Please help! Thank you

This post has been answered by Richard Harrison . on Sep 25 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2015
Added on Sep 23 2015
6 comments
1,378 views