<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[chanet(牧师)'s blog]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/chanet</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; chanet]]></copyright><item><title><![CDATA[给oracle 的SQL脚本传参数]]></title><link>https://blog.csdn.net/chanet/article/details/1915796</link><guid>https://blog.csdn.net/chanet/article/details/1915796</guid><author>chanet</author><pubDate>Tue, 04 Dec 2007 14:03:00 +0800</pubDate><description><![CDATA[SQL脚本内容：conn &1/&2select count(*) from user_tables;    exit调用：SQL> exit从Oracle9i Enterprise Edition Release 9.2.0.1.0 - ProductionWith the Partitioning, OLAP and Oracle Data Mining options]]></description><category></category></item><item><title><![CDATA[用 APPEND 批量加载数据时，可避免不合格数据]]></title><link>https://blog.csdn.net/chanet/article/details/1893001</link><guid>https://blog.csdn.net/chanet/article/details/1893001</guid><author>chanet</author><pubDate>Mon, 19 Nov 2007 17:22:00 +0800</pubDate><description><![CDATA[批量加载数据在数据仓库里经常用到的方法，但最烦人的就是，加载几千万数据，而表快要扫描完的时候或扫到一半，突然给你来一个约束上的不符合，数据要rollback，就Table Scan 加 rollback 这会消费很时间。 在10gR2  开始，加入了 LOG ERRORS 功能，可以把这情况去掉。用/*+APPEND*/ 批量来加载数据时，不合格的数据可另外传到错误表，之前加载的数据依然被加载]]></description><category></category></item><item><title><![CDATA[FTP的传输模式（ascii, binary）的区别]]></title><link>https://blog.csdn.net/chanet/article/details/1869128</link><guid>https://blog.csdn.net/chanet/article/details/1869128</guid><author>chanet</author><pubDate>Tue, 06 Nov 2007 10:59:00 +0800</pubDate><description><![CDATA[上传图片、压缩或打包类的文件用binary模式； 上传脚本类的文件用(CGI、HTML)，用文件编写的文件都需用ascii模式；否则会造成文件的损坏；修改模式直接用命令就行了，很简单：ascii 模式ftp> ascii200 Type set to A.binary模式ftp> binary200 Type set to I.ftp> 之后再put文件。：）]]></description><category></category></item><item><title><![CDATA[pmcmd 调用workflow]]></title><link>https://blog.csdn.net/chanet/article/details/1868028</link><guid>https://blog.csdn.net/chanet/article/details/1868028</guid><author>chanet</author><pubDate>Mon, 05 Nov 2007 17:30:00 +0800</pubDate><description><![CDATA[建好mapping，和workflow，并且测试通过。最后所有调度都是用pmcmd来控制，下面只是一个简单的调用例子：交互模式：$ pwd/soft/informatica/PowerCenter8.1.1/server/bin$$ pmcmdInformatica(r) PMCMD, version [8.1.1 SP1], build [661.0112], SOLARIS 64-]]></description><category></category></item><item><title><![CDATA[unix/linux 中的SHELL 参数多于9个的处理方法]]></title><link>https://blog.csdn.net/chanet/article/details/1867928</link><guid>https://blog.csdn.net/chanet/article/details/1867928</guid><author>chanet</author><pubDate>Mon, 05 Nov 2007 16:46:00 +0800</pubDate><description><![CDATA[echo beginecho 0:$0echo 1:$1echo 2:$2echo 3:$3echo 4:$4echo 5:$5echo 6:$6echo 7:$7echo 8:$8echo 9:$9shift 9echo 10:$1echo end/*$0 文件名参数9之后需加上一个 shift 9 ，才可以读到第10个参数和之后的参数*/]]></description><category></category></item><item><title><![CDATA[oracle 不同字符集，中文所占用的字节不同]]></title><link>https://blog.csdn.net/chanet/article/details/1863464</link><guid>https://blog.csdn.net/chanet/article/details/1863464</guid><author>chanet</author><pubDate>Fri, 02 Nov 2007 16:00:00 +0800</pubDate><description><![CDATA[在做ETL的时候，经常有一些字段提示长度不够。今天偶抓住一张表来分析了一下，后来发现中文在不同字符集所占用的字节是不同的。详细如下：源数据库字符集为: ZHS16GBK，数据仓库的字符集为：UTF-8 查询字符集：SELECT * FROM DATABASE_PROPERTIES WHERE property_name = NLS_CHARACTERSET源数据库：（ZHS16GB]]></description><category></category></item><item><title><![CDATA[pl/sql 终于出现 continue 在 11g  里了]]></title><link>https://blog.csdn.net/chanet/article/details/1862683</link><guid>https://blog.csdn.net/chanet/article/details/1862683</guid><author>chanet</author><pubDate>Fri, 02 Nov 2007 10:17:00 +0800</pubDate><description><![CDATA[一直以来，就是少了一个continue语句，一直以来都是用 if...end if 来判断。今天收到了一封oracle 寄过来的邮件，在里头提到了这语句，终于有了，呵呵~begin  for ctr in 1..30 loop    continue when mod(ctr,10) != 0;    dbms_output.put_line (ctr=||ctr);  end loop;]]></description><category></category></item><item><title><![CDATA[使用 expdp 的前提]]></title><link>https://blog.csdn.net/chanet/article/details/1854796</link><guid>https://blog.csdn.net/chanet/article/details/1854796</guid><author>chanet</author><pubDate>Mon, 29 Oct 2007 18:05:00 +0800</pubDate><description><![CDATA[$ expdp hub/hub dumpfile=scott.dmp logfile=scott.dmp directory=infouser_backup schemas=scottExport: Release 10.2.0.1.0 - 64bit Production on Thursday, 25 October, 2007 10:19:17Copyright (c) 2003, ]]></description><category></category></item><item><title><![CDATA[SQL*Loader 导入大文本数据]]></title><link>https://blog.csdn.net/chanet/article/details/1854778</link><guid>https://blog.csdn.net/chanet/article/details/1854778</guid><author>chanet</author><pubDate>Mon, 29 Oct 2007 17:55:00 +0800</pubDate><description><![CDATA[大文本数据来源于 文本 文件 -- 复制表结构create table scott.emp_test_lob as select * from scott.emp where 1=2;alter table SCOTT.EMP_TEST_LOB add CTEXT clob; -- 大文本字段-- 获取样例数据SELECT empno || , || ename || , || j]]></description><category></category></item><item><title><![CDATA[用SQL*Loader导文本文件到Oracle]]></title><link>https://blog.csdn.net/chanet/article/details/1854772</link><guid>https://blog.csdn.net/chanet/article/details/1854772</guid><author>chanet</author><pubDate>Mon, 29 Oct 2007 17:52:00 +0800</pubDate><description><![CDATA[一个简单的例子：-- 获取样例数据SELECT empno || , || ename || , || job || , || mgr || ,     || TO_CHAR(hireDate, yyyy-mm-dd hh24:mi:ss) || , || sal || , || comm || , || deptno  FROM scott.emp把以下数]]></description><category></category></item><item><title><![CDATA[gVim for windows 乱码问题]]></title><link>https://blog.csdn.net/chanet/article/details/1853817</link><guid>https://blog.csdn.net/chanet/article/details/1853817</guid><author>chanet</author><pubDate>Mon, 29 Oct 2007 10:21:00 +0800</pubDate><description><![CDATA[修改配置文件 _vimrc 把如下参数加上去就行了：set encoding=utf-8set termencoding=utf-8set fileencoding=chineseset fileencodings=ucs-bom,utf-8,chineseset langmenu=zh_CN.utf-8source $VIMRUNTIME/delmenu.vimsource $VIM]]></description><category></category></item><item><title><![CDATA[ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务]]></title><link>https://blog.csdn.net/chanet/article/details/1832143</link><guid>https://blog.csdn.net/chanet/article/details/1832143</guid><author>chanet</author><pubDate>Fri, 19 Oct 2007 09:04:00 +0800</pubDate><description><![CDATA[ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务 今天在开发的XP机上遇到了这个错误，这本来是很常见，很好处理的。但是，偶卡住了一会。在 linux 和 unix 下从来没遇到过-_-!!10g 自动化这么多东西，为什么这监听器不会自己加呢？呵呵~  解决思路：1、保证lsnrctl 已经 start；数据库实例已启动；2、打开$ORACLE_HOME]]></description><category></category></item><item><title><![CDATA[捕捉pl/sql具体出错位置]]></title><link>https://blog.csdn.net/chanet/article/details/1829188</link><guid>https://blog.csdn.net/chanet/article/details/1829188</guid><author>chanet</author><pubDate>Wed, 17 Oct 2007 13:47:00 +0800</pubDate><description><![CDATA[环境: 10g 或以上版本SQL> set serveroutput onSQL> DECLARE  2    v_sqlText VARCHAR2(100);  3  BEGIN  4    v_sqlText:= ;  5    EXECUTE IMMEDIATE v_sqlText;  6  EXCEPTION  7    WHEN OTHERS THEN  8      dbms_]]></description><category></category></item><item><title><![CDATA[ORA-01652: 无法通过 (在表空间 中) 扩展 temp 段]]></title><link>https://blog.csdn.net/chanet/article/details/1829023</link><guid>https://blog.csdn.net/chanet/article/details/1829023</guid><author>chanet</author><pubDate>Wed, 17 Oct 2007 11:51:00 +0800</pubDate><description><![CDATA[上午回来,打算把开发服务器的数据库本地化一份,但是EXP的时候,服务器突然被SA中断了. -_-! 没预先通知偶.后来使用一个最直接的方法:create table xx nologging as select * from xx@server;前几个表都好好的,但是到业务表的时候,出现如下错误:ORA-01652: 无法通过 (在表空间 中) 扩展 temp 段 偶第一反应是: ]]></description><category></category></item><item><title><![CDATA[给 fedora 添加个多线程下载工具。]]></title><link>https://blog.csdn.net/chanet/article/details/1807157</link><guid>https://blog.csdn.net/chanet/article/details/1807157</guid><author>chanet</author><pubDate>Sat, 29 Sep 2007 22:52:00 +0800</pubDate><description><![CDATA[用wget只是单线程，决定下载一个多线程的工具，google一下很快找到了myget，呵呵。myget主页：http://myget.sourceforge.net/下载下来：./configuremakemake install搞定。 ]]></description><category></category></item><item><title><![CDATA[在 Fedora7 装 Directory Server 代替cognos需要的 sun one ds]]></title><link>https://blog.csdn.net/chanet/article/details/1803434</link><guid>https://blog.csdn.net/chanet/article/details/1803434</guid><author>chanet</author><pubDate>Thu, 27 Sep 2007 16:25:00 +0800</pubDate><description><![CDATA[为了使用cognos，纯属工作需要，才装Sun one directory server ；但在windows下总是不正常，没办法，只好重装，天呀。没反应，呵呵。Java的东西在windows就这样子，以‘没反应’作抗议，又没有任何的提示信息。就为了给 cognos8 配个Directory Server，浪费了很多时间，重装系统也试用，还好是虚拟机里，重装也挺快的。在网上搜了一下，原来大家装 c]]></description><category></category></item><item><title><![CDATA[成功安装 flash x86 插件 到 firefox(x86_64)]]></title><link>https://blog.csdn.net/chanet/article/details/1777914</link><guid>https://blog.csdn.net/chanet/article/details/1777914</guid><author>chanet</author><pubDate>Sun, 09 Sep 2007 11:54:00 +0800</pubDate><description><![CDATA[环境：hp-laptop$ uname -srmLinux 2.6.21-1.3194.fc7 x86_64$ rpm -q firefoxfirefox-2.0.0.3-4.fc7步聚总结：1、下载 flash 插件;Flash player for Linux x86$wget http://fpdownload.macromedia.com/get/flashplayer/current/i]]></description><category></category></item><item><title><![CDATA[实用的一条SQL语句…(持续更新…)]]></title><link>https://blog.csdn.net/chanet/article/details/1777831</link><guid>https://blog.csdn.net/chanet/article/details/1777831</guid><author>chanet</author><pubDate>Sun, 09 Sep 2007 10:03:00 +0800</pubDate><description><![CDATA[[1] connect by 的应用-- 列出某范围的天数 (仅10g)SELECT trunc(SYSDATE, MM)+ROWNUM-1 dt  FROM dualCONNECT BY ROWNUM -- 列出左右五天SELECT trunc(SYSDATE) + (ROWNUM - 6) dt FROM dual CONNECT BY ROWNUM [2] 合并记录(merge = in]]></description><category></category></item><item><title><![CDATA[成功在 Fedora 7 安装无线网卡]]></title><link>https://blog.csdn.net/chanet/article/details/1777465</link><guid>https://blog.csdn.net/chanet/article/details/1777465</guid><author>chanet</author><pubDate>Sat, 08 Sep 2007 19:05:00 +0800</pubDate><description><![CDATA[环境：NB: hp-v3431auOS: $uname -srmLinux 2.6.21-1.3194.fc7 x86_64偶把装的过程总结一下：1、打开无线网卡，在前面有一个开关，往右推表示打开；2、查看网卡型号：$ lspci |grep Network01:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 02)3]]></description><category></category></item><item><title><![CDATA[成功安装 Oracle 10g(x86_64) 到 Fedora 7]]></title><link>https://blog.csdn.net/chanet/article/details/1773788</link><guid>https://blog.csdn.net/chanet/article/details/1773788</guid><author>chanet</author><pubDate>Wed, 05 Sep 2007 20:52:00 +0800</pubDate><description><![CDATA[环境：硬件：NB，hp-v3431au，AMD Turion64 X2，1G内存软件：Fedora 7(x86_64)，Oracle 10gR2_forLinux_x86_64在 Redhat 下装，按照官方网站的文章来做，一般没什么问题。但在Fedora 7 下装，偶还是第一次，虽然在过程中遇到从未见过的错误发生，但由于有Redhat环境的安装经验，所以在 Fedora7没多大问题。好了，如下总]]></description><category></category></item></channel></rss>