Database Administration (MOSC)

MOSC Banner

EXPDP with a partitioned table (t1:p1) + query clause. Is it possible ?

edited Jul 6, 2019 7:55PM in Database Administration (MOSC) 10 commentsAnswered

Is it possible to use the feature expdp with tables=t1:p1 (since t1 is a partitioned table and p1 is a partition) and QUERY clause ?

I have a partitioned table, which i need a few rows to import in development environment. I did expdp and oracle have read all 74 partitions. I need oracle to read only the last partition (named SYS_P29796)

Like this:

parfile is expquery_table4.par:

userid= '/ as sysdba'

DIRECTORY=expdptbs

DUMPFILE=query_tabela4.dmp

tables= CLC.TBCLCR_LNCM_RECB:SYS_P29796

query = CLC.TBCLCR_LNCM_RECB:"WHERE DT_RFRN_MVMN = '27-JUN-19' and CD_CRDE = 1606 and CD_TIPO_PLTF_PGMN = 'C';"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center