0

I need to export the full schema of a one month data range. I have a lot of partitioned tables inside the schema, so I need a query to export a schema without any constraint issue or partitioned table issue.

Usually I use to take separate table mentioning all partitioned table names inside the query.

karel
  • 5,489
  • 46
  • 45
  • 50
  • Please edit your question to include some more information. What you have tried so far? What exactly is your problem? What does your tables look like? You can have a look at [How to ask a good question?](https://stackoverflow.com/help/how-to-ask). – Björn Böing Mar 19 '19 at 07:36

1 Answers1

0

I'm not sure you can do that (at least, not in a simple manner).

In order to export only part of every table, you'd have to use the QUERY parameter and include a WHERE clause to fetch data within the last month.

If there are many (actually, more than one or two) tables, I'd suggest you not to put everything into the command line, but to create a parameter file, put everything you use with EXPDP in there and use it later. It is easier to maintain.

Littlefoot
  • 131,892
  • 15
  • 35
  • 57