以下是我测试exp用的表和数据
-- Create table
create table TEST
(
  ID NUMBER(3)
);
insert into TEST (ID)
values (1);
insert into TEST (ID)
values (2);
insert into TEST (ID)
values (3);
insert into TEST (ID)
values (4);
commit;
环境: RedHat linux As5
数据库:oracle 10g
在执行exp命令时报错如下,请各位高手指教下..
~#exp test/test123@testdb file=1.dmp tables=TEST query=\" where id>2 \"Export: Release 10.2.0.1.0 - Production on Tue Jun 8 10:14:38 2010Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Export done in ZHS16GBK character set and AL16UTF16 NCHAR character setAbout to export specified tables via Conventional Path ...
. . exporting table                           TEST
EXP-00056: ORACLE error 920 encountered
ORA-00920: invalid relational operator
Export terminated successfully with warnings.