Ramesh,
The command works on Linux but requires the "special" characters be escaped as
described in the doc's.
http://otn.oracle.com/doc/oracle8i_816/server.816/a76955/ch01.htm#37997
exp scott/tiger tables=emp query=\"where job=\'SALESMAN\' and sal\<1600\"
Note: Because the value of the QUERY parameter contains blanks, most operating systems
require that the entire strings
where job=\'SALESMAN\' and sal\<1600 be placed in double quotation marks or marked as
a literal by some method.
Operating system reserved characters also need to be preceded by an escape character.
See your operating system-specific
documentation for information about special and reserved characters on your system.
If you do not use the escapes it gives confusing error messages that do not lead to
the correct answer:EXP-000019, LRM-00101 unknown parameter..
HTH
ROR m���m
>>> [EMAIL PROTECTED] 01/08/02 08:50AM >>>
I don't remember export supporting queries. Why don't you create a temp
table or tables, eg. create table t_linemto as select * from linemto where
PROJ_CODE='CF-804', and then export the temp tables?
rpapnoi
@chemtex.co.i To: Multiple recipients of list ORACLE-L
n <[EMAIL PROTECTED]>
Sent by: root cc:
Subject: EXPORT WITH QUERY CLAUSE in win
NT
01/08/2002
01:00 AM
Please
respond to
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@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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Rogers
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).