C:\>exp system/lfang@dland_10.12.1.155 tables=(test) query=\" where grade \<20\" file=c:\f tables=(test) 应该为 tables = test 阿 查询条件 where grade \<20 是什么意思啊?? 改为 where grade <20 就可以至于 还有我想导出age <50怎么说我使用long类型不当 long 类型是不能这样用的而当我使用query=\" where name like \'\%f\%\'\"也好象不对啊 涉及到转义字符,最好用参数文件 parfile 如:再f盘县建立 zsf.par 内容如下: tables = test file = f:\zsfzsf1.dmp query="where name like '%f%'" 然后 C:\>exp system/lfang@dland_10.12.1.155 parfile = f:\zsf.par 就可以了
学到了!
为什么不重新建一个表,根据条件从test表中查询出数据,插入到新表中,然后直接把新表导出呢。
tables=(test) 应该为 tables = test 阿
查询条件 where grade \<20 是什么意思啊??
改为 where grade <20 就可以至于 还有我想导出age <50怎么说我使用long类型不当
long 类型是不能这样用的而当我使用query=\" where name like \'\%f\%\'\"也好象不对啊
涉及到转义字符,最好用参数文件 parfile
如:再f盘县建立 zsf.par 内容如下:
tables = test
file = f:\zsfzsf1.dmp
query="where name like '%f%'"
然后 C:\>exp system/lfang@dland_10.12.1.155 parfile = f:\zsf.par
就可以了