Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: EXPORT WITH QUERY CLAUSE in win NT
Tom and others
thanks for the feedback. I could solve the problem and the right answer is as
follow:
exp username/password_at_nts7 tables=(linemto,specs,specmast,password) file=c:\MTO.DMP QUERY='where proj_code=''CF-804'''
Thank you all.
Regards,
Ramesh D Papnoi
Oracle DBA @ Chemtex Global Engineers Pvt. Ltd., Mumbai, India
(BrainBench & Brainbuzz Certified Oracle 8/8i DBA & Developer)
http://www22.Brinkster.com/rpapnoi
To: internet["'ORACLE-L_at_fatcity.com'" <ORACLE-L_at_fatcity.com>] Cc: R Papnoi_at_Systems@Chemtex
Ramesh,
The following worked on Win2000, exp version 8.1.7
exp userid=user/pw_at_sid file=exp.dmp tables=(wtw_states) query='where state_abbr = ''NY'' '
Export: Release 8.1.7.0.0 - Production on Tue Jan 8 09:33:23 2002
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to: Oracle8i Enterprise Edition Release 8.1.7.1.1 - Production
With the Partitioning option
JServer Release 8.1.7.1.1 - Production
Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character
set
About to export specified tables via Conventional Path ...
. . exporting table WTW_STATES 1 rows exportedExport terminated successfully without warnings.
Note the extra single quotes within the query clause.
Hope this helps!
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Tuesday, January 08, 2002 1:00 AM
To: Multiple recipients of list ORACLE-L
Hi list
I want to export few tables with a common column in all. My OS is WinNT and db version is Oracle 8.1.6
I am using the folling command
exp username/password_at_nts7 tables=(linemto,specs,specmast,password) file=c:\MTO.DMP QUERY="where PROJ_CODE='CF-804'"
It gives me the following error:
EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
EXP-00000: Export terminated unsuccessfully
Where I am missing? Can someone correct me.
Regards,
Ramesh D Papnoi
Oracle DBA @ Chemtex Global Engineers Pvt. Ltd., Mumbai, India
(BrainBench & Brainbuzz Certified Oracle 8/8i DBA & Developer)
http://www22.Brinkster.com/rpapnoi
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: rpapnoi_at_chemtex.co.in Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Tue Jan 08 2002 - 22:51:59 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: rpapnoi_at_chemtex.co.in Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).