CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Oracle >  高级技术

exp的QUERY选项怎使用?

楼主zy605(zy605)2004-12-03 11:51:02 在 Oracle / 高级技术 提问

我用exp   user/pwd@name   tables=(aaa)   file=a.dmp   query=id>0想导出aaa表中id>0的记录,但通不过,谢谢 问题点数:0、回复次数:11Top

1 楼nbnasom(阿飞)回复于 2004-12-03 13:52:33 得分 0

exp   user/pwd@name   tables=aaa   file=a.dmp   query='id>0'  
  Top

2 楼wangybyangxr(王永斌)回复于 2004-12-03 13:56:40 得分 0

exp   user/pwd@name   tables=(aaa)   file=a.dmp   query=(SELECT   *   FROM   AAA   WHERE   id   >   0)Top

3 楼wangybyangxr(王永斌)回复于 2004-12-03 14:14:52 得分 0

Sorry,更正:  
  exp   user/pwd@name   tables=(aaa)   file=a.dmp   query=\"where   id>0\"  
  Top

4 楼dlab(老虎学艺)回复于 2004-12-04 17:21:29 得分 0

楼上正解Top

5 楼liuyi8903(不让疑问伴随)回复于 2004-12-04 23:47:30 得分 0

UP:)Top

6 楼smallcrocodile(大鳄鱼)回复于 2004-12-05 10:09:36 得分 0

看看,能不能学一招Top

7 楼killserver(killserver)回复于 2005-01-21 13:29:18 得分 0

不行,说是SQL没有正确结束Top

8 楼yown(yong)回复于 2005-01-21 16:22:48 得分 0

exp   c/pd@CRM   tables=(a)   file=\var\a.bak     query=\"where   id=2\"  
   
  我的可以通过的,试试  
  Top

9 楼daydayupliq(敞开胸怀!)回复于 2005-01-21 17:51:40 得分 0

exp   scott/liq   tables=(EMP)   FILE='d:\1.dmp'   query="""where   sal>1000"""  
  exp   scott/liq   tables=(EMP)   FILE='d:\1.dmp'   query=\"where   sal>5000\"  
   
  都可以的~  
   
   
  C:\>exp   scott/liq   tables=(EMP)   FILE='d:\1.dmp'   query="""where   sal>1000"""  
   
  Export:   Release   10.1.0.3.0   -   Production   on   星期五   1月   21   17:51:15   2005  
   
  Copyright   (c)   1982,   2004,   Oracle.     All   rights   reserved.  
   
   
  Connected   to:   Oracle   Database   10g   Enterprise   Edition   Release   10.1.0.3.0   -   Produc  
  tion  
  With   the   Partitioning,   OLAP   and   Data   Mining   options  
  Export   done   in   ZHS16GBK   character   set   and   AL16UTF16   NCHAR   character   set  
   
  About   to   export   specified   tables   via   Conventional   Path   ...  
  .   .   exporting   table                                                         EMP                   12   rows   exported  
  EXP-00091:   Exporting   questionable   statistics.  
  EXP-00091:   Exporting   questionable   statistics.  
  Export   terminated   successfully   with   warnings.  
   
  C:\>exp   scott/liq   tables=(EMP)   FILE='d:\1.dmp'   query=\"where   sal>5000\"  
   
  Export:   Release   10.1.0.3.0   -   Production   on   星期五   1月   21   17:51:56   2005  
   
  Copyright   (c)   1982,   2004,   Oracle.     All   rights   reserved.  
   
   
  Connected   to:   Oracle   Database   10g   Enterprise   Edition   Release   10.1.0.3.0   -   Produc  
  tion  
  With   the   Partitioning,   OLAP   and   Data   Mining   options  
  Export   done   in   ZHS16GBK   character   set   and   AL16UTF16   NCHAR   character   set  
   
  About   to   export   specified   tables   via   Conventional   Path   ...  
  .   .   exporting   table                                                         EMP                     0   rows   exported  
  EXP-00091:   Exporting   questionable   statistics.  
  EXP-00091:   Exporting   questionable   statistics.  
  Export   terminated   successfully   with   warnings.  
   
  C:\>exp   scott/liq   tables=(EMP)   FILE='d:\1.dmp'   query=\"where   sal>500\"  
   
  Export:   Release   10.1.0.3.0   -   Production   on   星期五   1月   21   17:52:20   2005  
   
  Copyright   (c)   1982,   2004,   Oracle.     All   rights   reserved.  
   
   
  Connected   to:   Oracle   Database   10g   Enterprise   Edition   Release   10.1.0.3.0   -   Produc  
  tion  
  With   the   Partitioning,   OLAP   and   Data   Mining   options  
  Export   done   in   ZHS16GBK   character   set   and   AL16UTF16   NCHAR   character   set  
   
  About   to   export   specified   tables   via   Conventional   Path   ...  
  .   .   exporting   table                                                         EMP                   14   rows   exported  
  EXP-00091:   Exporting   questionable   statistics.  
  EXP-00091:   Exporting   questionable   statistics.  
  Export   terminated   successfully   with   warnings.  
   
  C:\>  
  Top

10 楼liuyi8903(不让疑问伴随)回复于 2005-01-29 13:59:28 得分 0

就用   scott.emp   为例吧  
  exp   scott/tiger   TABLES=emp   QUERY=\"WHERE   job=\'SALESMAN\'   and   sal\<1600\"Top

11 楼bisliu(还在潜水的鱼)回复于 2005-01-29 14:35:08 得分 0

学习了!Top

相关问题

  • 怎样得知CListCtrl中当前选项?
  • Internet选项被锁住怎么解?
  • 怎么删除启动选项?
  • 请问怎么加/MT选项?
  • 怎样在COMBOBOX中加入可选项?
  • 怎样在COMBOBOX中加入可选项?
  • 怎样删除多个单选选项
  • DropDownList 怎样设置默认的选项??
  • 怎样得到CComboBox的选项?
  • 怎样向ComboBox中输入选项?

关键词

  • exp
  • liq
  • dmp
  • query
  • aaa
  • pwd
  • sal
  • scott
  • emp
  • where

得分解答快速导航

  • 帖主:zy605

相关链接

  • Oracle类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo