请问用exp可以按条件来备份oracle9i吗?

我想备份一个表的某些记录,可以吗?比如备份发布时间是:2004-8-18的数据

$exp cai/cai@pixel file=aa.dmp tables=xxgl query=select * from xxgl where fbtime=2004-8-18;

我是这样写的,请问应该怎样写?
---------------------------------------------------------------

$exp cai/cai@pixel file=aa.dmp tables=xxgl query="""where fbtime=2004-8-18"""

windows下的where语句必须用3个"""加在语句前后

Published At
Categories with 数据库类
Tagged with
comments powered by Disqus