Data pump Export with query and date value [message #487324] |
Fri, 24 December 2010 23:21 |
karthickbab
Messages: 16 Registered: November 2009 Location: India
|
Junior Member |
|
|
Hi,
If i export data using thw below query it shows the error:
>expdp test1/test1 DIRECTORY=datapump DUMPFILE=expfull.dmp query=auth_test:\"where TXNREQDTTIME\<'20-MAY-10'\" tables=auth_test
bash-3.00$ expdp test1/test1 DIRECTORY=datapump DUMPFILE=expfull-3.dmp query=auth_test:\"where TXNREQDTTIME\<'20-MAY-10'\" tables=auth_test
Export: Release 10.2.0.1.0 - Production on Saturday, 25 December, 2010 5:10:06
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Starting "TEST1"."SYS_EXPORT_TABLE_01": test1/******** DIRECTORY=datapump DUMPFILE=expfull-3.dmp query=auth_test:"where TXNREQDTTIME<20-MAY-10" tables=auth_test
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 64 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-31693: Table data object "TEST1"."AUTH_TEST" failed to load/unload and is being skipped due to error:
ORA-00904: "MAY": invalid identifierMaster table "TEST1"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for TEST1.SYS_EXPORT_TABLE_01 is:
/App1/oracle/file/expfull-3.dmp
Job "TEST1"."SYS_EXPORT_TABLE_01" completed with 1 error(s) at 05:10:08
Anyone please solve this?
|
|
|
|
|
|
|