当前位置: 首页 > news >正文

南京哪公司建设网站房产网络

南京哪公司建设网站,房产网络,飓风算法受影响的网站有哪些,临清网站建设今天看到群里有人问到关于在使用expdp导出数据中使用query参数报错的解决方法#xff0c;自己也出于好奇心瞎折腾了一把#xff0c;现记录如下1.第一次尝试的时候[oracleDB ~]$ expdp scott/scott tablesemp1 dumpfileemp1.dmp logfileemp1.log queryemp1:where rownum…今天看到群里有人问到关于在使用expdp导出数据中使用query参数报错的解决方法自己也出于好奇心瞎折腾了一把现记录如下1.第一次尝试的时候[oracleDB ~]$ expdp scott/scott tablesemp1 dumpfileemp1.dmp logfileemp1.log queryemp1:where rownum Export: Release 11.2.0.4.0 - Production on 星期日 6月 18 01:06:05 2017Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsORA-39001: 参数值无效ORA-39035: 已经指定了数据过滤器 SUBQUERY。ORA-39001: 参数值无效ORA-39035: 已经指定了数据过滤器 SUBQUERY。上述错误说明query语法写的有问题正确写法要用\转义引号于是再次编写了一下执行OK[oracleDB ~]$ expdp scott/scott tablesemp1 dumpfileemp1.dmp logfileemp1.log query\where rownum \Export: Release 11.2.0.4.0 - Production on 星期日 6月 18 01:18:52 2017Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options启动 SCOTT.SYS_EXPORT_TABLE_01:  scott/******** tablesemp1 dumpfileemp1.dmp logfileemp1.log querywhere rownum 正在使用 BLOCKS 方法进行估计...处理对象类型 TABLE_EXPORT/TABLE/TABLE_DATA使用 BLOCKS 方法的总估计: 64 KB处理对象类型 TABLE_EXPORT/TABLE/TABLE. . 导出了 SCOTT.EMP1                              8.179 KB       4 行已成功加载/卸载了主表 SCOTT.SYS_EXPORT_TABLE_01******************************************************************************SCOTT.SYS_EXPORT_TABLE_01 的转储文件集为:/u01/app/oracle/admin/orcl/dpdump/emp1.dmp作业 SCOTT.SYS_EXPORT_TABLE_01 已于 星期日 6月 18 01:19:03 2017 elapsed 0 00:00:10 成功完成通过上面截图可以看到1中双引号和小于号前面都要加上反斜线\转义在实际oracle中会把这些反斜线去掉来执行注意观察2处。当然结果是OK的把原表备份一下然后删除导入验证一下如下2.答主突发奇想又测试了一种情况就是当query条件中有大于号的情况。如下[oracleDB ~]$ expdp scott/scott tablesemp1 dumpfileemp1_2.dmp logfileemp1.log query\where hiredate  to_date\(\1982/01/02\,\yyyy/mm/dd\\)\-bash: to_date(1982/01/02,yyyy/mm/dd): No such file or directory看到结果没如果条件中有大于号而又没有加反斜线系统把这种大于号默认是重定义符号。如下所示这种更改一下再次执行就OK了。童鞋们请重点观察下图中标注的1、2处。[oracleDB ~]$ expdp scott/scott tablesemp1 dumpfileemp1_2.dmp logfileemp1.log query\where hiredate \ to_date\(\1982/01/02\,\yyyy/mm/dd\\)\Export: Release 11.2.0.4.0 - Production on 星期日 6月 18 01:59:56 2017Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options启动 SCOTT.SYS_EXPORT_TABLE_01:  scott/******** tablesemp1 dumpfileemp1_2.dmp logfileemp1.log querywhere hiredate  to_date(1982/01/02,yyyy/mm/dd)正在使用 BLOCKS 方法进行估计...处理对象类型 TABLE_EXPORT/TABLE/TABLE_DATA使用 BLOCKS 方法的总估计: 64 KB处理对象类型 TABLE_EXPORT/TABLE/TABLE. . 导出了 SCOTT.EMP1                              8.125 KB       3 行已成功加载/卸载了主表 SCOTT.SYS_EXPORT_TABLE_01******************************************************************************SCOTT.SYS_EXPORT_TABLE_01 的转储文件集为:/u01/app/oracle/admin/orcl/dpdump/emp1_2.dmp作业 SCOTT.SYS_EXPORT_TABLE_01 已于 星期日 6月 18 02:00:01 2017 elapsed 0 00:00:04 成功完成3.如果有童鞋想一下子导出多张表时需如下定义expdp scott/scott tablesemp1,emp2 dumpfileemp.dmp logfileemp1.log queryemp1:\where rownum5\,emp2:\where rownum5\
http://www.pierceye.com/news/455021/

相关文章:

  • 怎么用视频做网站首页php网站开发职位
  • 网站平台怎么做typecho跟wordpress
  • 网站建设找什么公司微网站建设流程
  • 如何制作数据库网站哔哩哔哩推广平台
  • 免费建立手机网站网站建设下载模板之后怎么修改
  • wordpress 网站暂停做社区生意的网站
  • 渭南做网站的公司商业网站后缀名
  • 凡科建站电话邙山网站建设
  • 哪些网站可以做ppi小程序源码什么意思
  • 做公司网站都需要哪些东西产品画册设计公司
  • 网页优化与网站优西安开发网站建设
  • 大连建设监察执法网站免费icp备案服务码
  • 潮州做网站京东网站建设步骤
  • 遂宁模板建站公司懂福溶州做戒网站
  • 百度网站下拉排名农村电商平台发展现状
  • 移动端网站开发与网页开发区别wordpress首页文章显示
  • 有什么网站是layui做的wordpress 微信咨询菜单
  • 湖南网站seo营销x cache wordpress
  • 网站建设太金手指六六十八知名网站建设推荐
  • WordPress找不到站点做好评做销量的网站
  • 网站建设项目经历东莞市官网网站建设企业
  • FileZilla做网站程序开发的难点
  • 网站开发前端制作网站flsh怎么做
  • 建设网站需申请什么手续如何申请公司名称注册
  • 中山网站制无锡公司建立网站
  • 优化推广网站网站建设的岗位职责
  • 网站建设制作设计优化兰州如何用织梦建网站
  • wordpress 网站禁用全屏代码百度怎么建设网站
  • 强军网网站建设北京各大网站推广服务公司
  • 西安优秀的集团门户网站建设公司网站建设中 优秀账户的标准