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

澄迈县网站建设_网站建设公司_全栈开发者_seo优化

深圳哪里有网站建设,wordpress连接微博专业版,哈尔滨仿站定制模板建站,旅游网站模板大全.sqlset line 1000 --设置行的长度set pagesize 0 --输出不换页set feedback off --默认的当一条sql发出的时候#xff0c;oracle会给一个反馈#xff0c;比如说创建表的时候#xff0c;如果成功命令行会返回类似#xff1a;Table created的反馈,off后….sqlset line 1000         --设置行的长度set pagesize 0        --输出不换页set feedback off      --默认的当一条sql发出的时候oracle会给一个反馈比如说创建表的时候如果成功命令行会返回类似Table created的反馈,off后不显示反馈set heading off       --不显示表头信息set trimspool on      --如果trimspool设置为on将移除spool文件中的尾部空set trims on          --去掉空字符set echo off;       --显示start启动的脚本中的每个sql命令缺省为onset colsep |         --设置分隔符set termout off        --不在屏幕上显示结果spool db1.txt          --记录数据到db1.txtselect object_id,object_name from all_objects;  --导出数据语句spool off              --收集完毕exit一切就绪后导出数据[oraclecentos5 ~]$ sqlplus test/test exp_table.sqlSQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 13 16:35:14 2013Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options[oraclecentos5 ~]$ sed -i s/ //g db1.txt  --可选去除每行开头部分的空格[oraclecentos5 ~]$ more db1.txt 20|ICOL$44|I_USER128|CON$15|UNDO$29|C_COBJ#3|I_OBJ#25|PROXY_ROLE_DATA$[oraclecentos5 ~]$ cat db1.txt |wc -l[oraclecentos5 ~]$ sqlplus test/testSQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 13 16:36:21 2013Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL select count(*) from all_objects;COUNT(*)------------数据正确二、从txt导入数据到oraclesqlldr是通过一个control文件设定后从文本导入数据建立一张测试表SQL create table tb_sqlldr (id number,name varchar2(50));Table created.建立一个control文件vi tb_sqlldr.ctlloaddatainfiledb1.txt --数据来源文本 append into table tb_sqlldr --数据导入到表tb_sqldr中导入方式为追加如果想覆盖 fields terminated by | --4、字段终止于X09是一个制表符(tab) (id,name) --定义对应的字段名称注意顺序导入数据分成四种模式可以根据需求选择APPEND // 原先的表有数据 就加在后面INSERT // 装载空表 如果原先的表有数据 sqlloader会停止 默认值REPLACE // 原先的表有数据 原先的数据会全部删除TRUNCATE // 指定的内容和replace的相同 会用truncate语句删除现存数据执行导入操作sqlldr useridtest/test controltb_sqlldr.ctl执行导入后验证数据SQL select count(*) fromtb_sqlldr;COUNT(*)---------- 49988sqlldr还有很多参数供选择比如log、bad这些查看帮助即可[oraclecentos5 ~]$ sqlldrSQL*Loader: Release 10.2.0.4.0 - Production on Thu Jun 13 17:07:26 2013Copyright (c) 1982, 2007, Oracle.  All rights reserved.Usage: SQLLDR keywordvalue [,keywordvalue,...]Valid Keywords:userid -- ORACLE username/passwordcontrol -- control file namelog -- log file namebad -- bad file namedata -- data file namediscard -- discard file namediscardmax -- number of discards to allow          (Default all)skip -- number of logical records to skip    (Default 0)load -- number of logical records to load    (Default all)errors -- number of errors to allow            (Default 50)rows -- number of rows in conventional path bind array or between direct path data saves(Default: Conventional path 64, Direct path all)bindsize -- size of conventional path bind array in bytes  (Default 256000)silent -- suppress messages during run (header,feedback,errors,discards,partitions)direct -- use direct path                      (Default FALSE)parfile -- parameter file: name of file that contains parameter specificationsparallel -- do parallel load                     (Default FALSE)file -- file to allocate extents fromskip_unusable_indexes -- disallow/allow unusable indexes or index partitions  (Default FALSE)skip_index_maintenance -- do not maintain indexes, mark affected indexes as unusable  (Default FALSE)commit_discontinued -- commit loaded rows when load is discontinued  (Default FALSE)readsize -- size of read buffer                  (Default 1048576)external_table -- use external table for load; NOT_USED, GENERATE_ONLY, EXECUTE  (Default NOT_USED)columnarrayrows -- number of rows for direct path column array  (Default 5000)streamsize -- size of direct path stream buffer in bytes  (Default 256000)multithreading -- use multithreading in direct pathresumable -- enable or disable resumable for current session  (Default FALSE)resumable_name -- text string to help identify resumable statementresumable_timeout -- wait time (in seconds) for RESUMABLE  (Default 7200)date_cache -- size (in entries) of date conversion cache  (Default 1000)PLEASE NOTE: Command-line parameters may be specified either byposition or by keywords.  An example of the former case is sqlldrscott/tiger foo; an example of the latter is sqlldr controlfoouseridscott/tiger.  One may specify parameters by position beforebut not after parameters specified by keywords.  For example,sqlldr scott/tiger controlfoo logfilelog is allowed, butsqlldr scott/tiger controlfoo log is not, even though theposition of the parameter log is correct.
http://www.ihoyoo.com/news/142555.html

相关文章:

  • 如何在阿里云云服务器上搭建网站成都平台网站建设
  • 做羞羞的专门网站wordpress cmd
  • mysql asp网站外贸网站建设推广优化
  • 做网站难学吗英文外链seo兼职
  • 租车网站开发专业建设特色
  • 深圳小程序网站开发进入秦皇岛最新规定
  • 建网站申请推广普通话演讲稿
  • 建筑方面的网站网站定制分享
  • 假冒建设银行网站各大网站的名字大全
  • 无锡网站排名推广wordpress 有支付接口
  • 做网站全部乱码怎么办蒲城做网站
  • 网站建设的大纲营销型网站重要特点是
  • 胶州网站设计公司带数据库的网站
  • 宝山网站建设公司网站主页模板
  • 成都地铁建设分公司网站微信小程序线上商城怎么申请
  • 南城免费做网站广州做手机网站建设
  • 如何建设运输网站网页设计代码大全模板
  • 西安网站建设推广优化wordpress首页循环
  • 安徽住房与城乡建设厅网站dedecms导航网站模板
  • 网站开发c美食网站建设实施方案
  • 安徽省建设工程造价管理网站多商户开源商城
  • 企业网站如何优化排名机械公司企业简介模板
  • 济宁网站建设济宁子域名做微信开放平台网站应用
  • 企业网站建设方案报价东莞市聚势网络科技有限公司
  • wordpress saas 建站wordpress文档模板下载
  • 网站是否能够被恶意镜像分类网站作用
  • 做网站包头网站运营教程
  • wordpress 修改headseo诊断表
  • 做电影网站放抢先版电子商务网站建设基础项目实训报告
  • 网站建设考试试题app 与网站