My Oracle Support Banner

How to Use Escape for Underscore in Exclude Clause in DataPump Export (Doc ID 778888.1)

Last updated on JANUARY 16, 2020

Applies to:

Oracle Database Exadata Express Cloud 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 Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
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.

Goal

How can you format the EXCLUDE statement so that you can Escape the "_" (underscore character) in an object name?

By default the underscore character is interpreted by DataPump to represent any character. For example, if you specify 'TR_", Datapump looks for any match to TR<any character> (i.e., TRB, TRZ, etc.). 

So the question here is how to change this default behavior so that "R_" is intpreted by Datapump to mean underline and not "any character".

Solution

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
Goal
Solution
References


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