舉個例子:
用select * from all_objects創建了一張表T。
想要導出object_id小於5000的所有行。
(1)windows下: exp userid=cms0929/cms0929 table=t query="""where object_id < 5000"""
(2)unix下: exp userid=cms0929/cms0929 table=t query=\"where object_id\<5000\"
然而,如果簡單地使用一個包含如下參量的參數文件:exp.par:query="where object_id < 5000"
那么在windows和unix下均可使用:exp userid=cms0929/cms0929 table=t parfile=exp.par