how do I export using datapump to export schema excluding certain tables

Posted on 2014-08-15
Last Modified: 2014-08-18
When I try to exclude one or more tables in my schema export I get an LRM error

expdp system/***** schemas=acct_mgr exclude=TABLE:"='INTMETRICS'" DIRECTORY=dpump_dir1 dumpfile=acct_mgr_140814.dmp logfile=acct_mgr_140814.log
LRM-00116: syntax error at 'TABLE:' following '='

When I try it again using the escape I still get an error as well

expdp system/***** schemas=acct_mgr exclude=TABLE:\"=\'INTMETRICS\'\" DIRECTORY=dpump_dir1 dumpfile=acct_mgr_140814.dmp logfile=acct_mgr_140814.log
Question by:sikyala
    LVL 76

    Accepted Solution


    ... exclude=TABLE:\"='INTMETRICS'\" ...

    ... "exclude=TABLE:\"='INTMETRICS'\"" ...

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Title # Comments Views Activity
    Linux on a Dell PowerEdge 720 3 61
    Left Justify field in Oracle 6 53
    Format Number Field 10 34
    Oracle PL/SQL syntax 4 29
    Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
    How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
    This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now