Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Export with Query Parameter

Export with Query Parameter

From: <oracle-l-bounce_at_freelists.org>
Date: Tue, 30 Aug 2005 14:02:22 +0200
Message-ID: <3600C5EBD1EC3947B47ED4186169096C04979E@msx-zv13.lvrintern.lvr.de>


Hi list members,

I have a problem concerning the export utility with the query parameter in an Windows 2000 environment.

We have a 50-million rows table in our production environment and want to export a subset of rows to another instance using export with the query parameter.

Our export-command file looks like this: exp system_at_oraprod file=G:\exp_tab_oraprod_G960.dmp log=G:\exp_tab_oraprod_G960.log statistics=none indexes=N tables=G960DB1.G500MONATSLAUF_T QUERY=\"WHERE LAUFMONAT >'01.05.2005'\"

When running a SELECT COUNT(*) query with this WHERE-clause, the system returns about 1.000.000 rows.
The export runs without a syntax error, but it always exports the whole table. I've tried some other possibilities like QUERY="""WHERE LAUFMONAT
>'01.05.2005'""", but this also doesn't work.

Best regards
Michael Fleck

LVR InfoKom
michael.fleck_at_lvr.de

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Aug 30 2005 - 07:04:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US