<?xml version="1.0" encoding="gbk"?>
			<?xml-stylesheet type="text/css" href="http://space.itpub.net/css/rss.css"?>
			<rss version="2.0">
			  <channel>
			    <title>paul oracle my love</title>
			    <link>http://space.itpub.net/7199859</link>
			    <description>学习oracle技术,每天学一点,每天进步一点</description>
			    <copyright>Copyright(C) paul oracle my love</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Fri, 22 Aug 2008 08:26:15 GMT</lastBuildDate><item>
								<title>ORA-01407: cannot update to null 错误解决</title>
								<link>http://space.itpub.net/7199859/viewspace-430077</link>
								<description><![CDATA[<P><FONT color=#ff0000>在更新客户数据时 出现ORA-01407错误</FONT></P>
<P>SQL&gt; select table_id,game_deal_log_id from tb_test_log;<BR>&nbsp;<BR>TABLE_ID&nbsp;&nbsp; GAME_DEAL_LOG_ID<BR>---------- ----------------<BR>G&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 20 Aug 2008 09:39:45 GMT</pubDate>
							</item>
							<item>
								<title>哪些oracle对象可以重命名</title>
								<link>http://space.itpub.net/7199859/viewspace-428147</link>
								<description><![CDATA[<P>CLUSTER can’t be renamed.<BR>FUNCTION can’t be renamed.<BR><STRONG>INDEX </STRONG>ALTER INDEX old_name RENAME TO new_name;<BR><STRONG>INDEX PARTITION</STRONG> ALTER INDEX index_name RENAME PARTITION partition TO new_name;<BR><STRONG>INDEX SUB PART...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Thu, 14 Aug 2008 17:26:06 GMT</pubDate>
							</item>
							<item>
								<title>ORA-01008: not all variables bound  错误</title>
								<link>http://space.itpub.net/7199859/viewspace-426879</link>
								<description><![CDATA[<P>今天在测试一个job时 出现下面错误</P>
<P>Connected to Oracle9i Enterprise Edition Release 9.2.0.4.0 <BR>Connected as dba_test<BR>&nbsp;<BR>SQL&gt; <BR>SQL&gt; begin<BR>&nbsp; 2&nbsp;&nbsp;&nbsp; sys.dbms_job.submit(job =&gt; :job,<BR>&nbsp; 3&nbsp;&...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Thu, 14 Aug 2008 11:02:32 GMT</pubDate>
							</item>
							<item>
								<title>失败没关系，但一定要是“成功的”失败(转)</title>
								<link>http://space.itpub.net/7199859/viewspace-425649</link>
								<description><![CDATA[<P><A class=post_title href="http://yeka52.ycool.com/post.2922030.html" rel=follow><STRONG><FONT color=#0079a2 size=3>失败没关系，但一定要是“成功的”失败</FONT></STRONG></A></P><FONT size=2>新来的同事开始承担了团队一定的管理担子，写了博客“成长的痛苦”...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 13 Aug 2008 11:26:54 GMT</pubDate>
							</item>
							<item>
								<title>oracle 10g merge命令的增强</title>
								<link>http://space.itpub.net/7199859/viewspace-425550</link>
								<description><![CDATA[<P><FONT color=#ff0000 size=5>merge into 语句写法主要功能是对两个表进行关联,如果存在相等值就更新,</FONT></P>
<P><FONT color=#ff0000 size=5>不存在就插入</FONT></P>
<P>先看9i写法:</P>
<P>create table test (id number,name varchar2(20));</P>
<P>create ...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Tue, 12 Aug 2008 16:21:53 GMT</pubDate>
							</item>
							<item>
								<title>oracle用备份的控制文件恢复后不用resetlogs打开方式的恢复</title>
								<link>http://space.itpub.net/7199859/viewspace-423083</link>
								<description><![CDATA[<P>在一般恢复备份的控制文件,打开数据库都要用resetlogs 重置日志这种方式,</P>
<P>这是因为备份的控制文件恢复后,没有最新的当前在线日志信息 ,而重建控制文件</P>
<P>就可以用 NORESETLOGS&nbsp; 这种方式打开</P>
<P>这是因为:</P>
<P>备份的控制文件里面有一个 截...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Tue, 12 Aug 2008 10:32:49 GMT</pubDate>
							</item>
							<item>
								<title>oracle 10G R2在Enterprise Linux Enterprise Linux Server release 5.2上的安装</title>
								<link>http://space.itpub.net/7199859/viewspace-423016</link>
								<description><![CDATA[<P>今天下午测试了一下oracle10g 在oracle自己的操作系统版本redhat 5下面的安装</P>
<P>1.首先检查是否需要安装以下包:</P>
<P>检查命令如下:</P>
<P># rpm -q gcc make binutils openmotif setarch compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compatlibs...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Mon, 11 Aug 2008 17:36:16 GMT</pubDate>
							</item>
							<item>
								<title>oracle 9iDATA GUARD物理STANDBY的 SWITCHOVER切换步骤</title>
								<link>http://space.itpub.net/7199859/viewspace-421528</link>
								<description><![CDATA[<H1 class=xspace-title>&nbsp;</H1>
<DIV class=xspace-itemmessage id=xspace-showmessage>
<P style="TEXT-INDENT: 21pt"><SPAN style="FONT-FAMILY: 宋体">物理<SPAN lang=EN-US>STANDBY</SPAN>的<SPAN lang=EN-US>SWITCHOVER</SPAN>切换会把当前的一个物理<SPAN la...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Fri, 08 Aug 2008 10:30:11 GMT</pubDate>
							</item>
							<item>
								<title>dba工作一定要细心:由于不细心导致的一个小问题</title>
								<link>http://space.itpub.net/7199859/viewspace-421397</link>
								<description><![CDATA[<P>今天在客户那运行修复数据sql时</P>
<P>SQL&gt; @ d:\spt1322_old.sql<BR>Started spooling to C:\vc\vc\spt1322.log<BR>&nbsp;<BR>declare<BR>&nbsp;&nbsp; CURSOR emp_cur IS<BR>&nbsp; SELECT a.client_id client_id,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b.l...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Thu, 07 Aug 2008 11:09:47 GMT</pubDate>
							</item>
							<item>
								<title>bcp实用工具 详细解释</title>
								<link>http://space.itpub.net/7199859/viewspace-420496</link>
								<description><![CDATA[<H1><A name=_bcp_reference></A><SUP></SUP>bcp 实用工具</H1>
<P><B>bcp</B> 实用工具在 Microsoft&reg; SQL Server&#8482; 2000 实例和数据文件之间以用户指定的格式复制数据。</P>
<H5>语法</H5>
<P><CODE><FONT face=新宋体><B>bcp</B> {[[<I>database_name</I><B...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 06 Aug 2008 12:12:16 GMT</pubDate>
							</item>
							<item>
								<title>今天修复数据写了个pl/sql</title>
								<link>http://space.itpub.net/7199859/viewspace-420479</link>
								<description><![CDATA[<P>以下这个pl/sql 是针对业务数据出了问题</P>
<P>而进行修复的,涉及到一些判断</P>
<P>spool test.log<BR>declare <BR>&nbsp;&nbsp; CURSOR emp_cur IS<BR>&nbsp; SELECT a.client_id client_id,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b.login,<BR>&nbsp;&nbsp;&n...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 06 Aug 2008 11:34:54 GMT</pubDate>
							</item>
							<item>
								<title>oracle 为什么没有使用索引的一种情况</title>
								<link>http://space.itpub.net/7199859/viewspace-419043</link>
								<description><![CDATA[<P>存在以下索引</P>
<P>SQL&gt; SELECT INDEX_NAME,COLUMN_NAME FROM USER_IND_COLUMNS WHERE INDEX_NAME='IDX_GBDS_CLIENT_GAME_EVENT';<BR>&nbsp;<BR>INDEX_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Tue, 05 Aug 2008 14:28:50 GMT</pubDate>
							</item>
							<item>
								<title>oracle 9.2.0.4在 linux RHELAS4 32位的安装文档</title>
								<link>http://space.itpub.net/7199859/viewspace-417753</link>
								<description><![CDATA[<P>1.安装以下包和补丁:</P>
<P><B><SPAN lang=EN-US style="FONT-SIZE: 13pt; LAYOUT-GRID-MODE: both; FONT-FAMILY: Helvetica-Narrow-Bold; mso-bidi-font-family: Helvetica-Narrow-Bold"><FONT face=宋体>Operating System Requirements<?xml:namespace prefix = o ...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Mon, 04 Aug 2008 14:59:22 GMT</pubDate>
							</item>
							<item>
								<title>rman开始备份归档日志的时候，是不是会自动切换redo？</title>
								<link>http://space.itpub.net/7199859/viewspace-417730</link>
								<description><![CDATA[<P>rman备份归档日志一开始想应该不会切换redo,</P>
<P>除非是在rman 中指定 alter system archive log current</P>
<P>或者是backup database plus archivelog&nbsp; 这两种情况下都会切换redo的</P>
<P>以下是测试过程&nbsp; 会切换redo:</P>
<P>C:\Documents and S...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Mon, 04 Aug 2008 12:35:39 GMT</pubDate>
							</item>
							<item>
								<title>11g RMAN新特性active database duplicate 数据库异构</title>
								<link>http://space.itpub.net/7199859/viewspace-417408</link>
								<description><![CDATA[<P><FONT color=#ff0000 size=3>主库:linux rh4+oracle 11.1.0.6</FONT></P>
<P><FONT color=#ff0000 size=3>数据文件 /oradata/asm11g</FONT></P>
<P><FONT color=#ff0000 size=3>复制到:windows 2003 server+oracle 11.1.0.6</FONT></P>
<P><FONT color=#ff0000 size...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Fri, 01 Aug 2008 12:32:57 GMT</pubDate>
							</item>
							<item>
								<title>11g RMAN新特性 active database duplication 复制数据库</title>
								<link>http://space.itpub.net/7199859/viewspace-416194</link>
								<description><![CDATA[<P>第二.利用active database duplication 复制一个数据库<BR>前面1到5步 和创建standby 数据库一样</P>
<P>其中第5步设置dataguard相关初始化参数可以去掉<BR><BR>6.登录主库 开始复制<BR>C:\Documents and Settings\Administrator&gt;set oracle_sid=primary<BR>C:\Doc...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Thu, 31 Jul 2008 14:26:04 GMT</pubDate>
							</item>
							<item>
								<title>11g RMAN新特性 active database duplication createing standby</title>
								<link>http://space.itpub.net/7199859/viewspace-416185</link>
								<description><![CDATA[<P>Network-Enabled Database Duplication Without Backups<BR>Prior to Oracle 11g, an RMAN database duplication to a different host required copies of <BR>the relevant backups and archived redo logs to be manually copied to the remote server. <BR>Oracle 1...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Thu, 31 Jul 2008 12:45:37 GMT</pubDate>
							</item>
							<item>
								<title>11g 新特性 real time apply ＋real time query</title>
								<link>http://space.itpub.net/7199859/viewspace-413643</link>
								<description><![CDATA[<P>主库</P>
<P>由不同步ASYNC改为SYNC</P>
<P>SQL&gt; alter system set log_archive_dest_2='service=standby SYNC VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=standby' scope=spfile;</P>
<P>System altered.</P>
<P>备库由日志恢复模式变成 real time...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 30 Jul 2008 12:46:59 GMT</pubDate>
							</item>
							<item>
								<title>Renaming a Datafile in the Primary Database</title>
								<link>http://space.itpub.net/7199859/viewspace-413632</link>
								<description><![CDATA[<P><FONT color=#ff0000 size=4>Renaming a Datafile in the Primary Database</FONT><BR>When you rename one or more datafiles in the primary database, the change is not<BR>propagated to the standby database. Therefore, if you want to rename the same<BR>dat...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 30 Jul 2008 11:35:51 GMT</pubDate>
							</item>
							<item>
								<title>oracle 11g在不同平台异构standby 安装文档</title>
								<link>http://space.itpub.net/7199859/viewspace-413592</link>
								<description><![CDATA[<P><FONT color=#ff0000 size=4>oracle 11g 在windows与linux不同平台下的 DATA GUARD配置 <BR></FONT>主库 windows 2003 server+oracle 11.1.0.6<BR>db_name:primary<BR>sid_name:primary<BR>数据文件存放目录:D:\APP\ADMINISTRATOR\ORADATA\PRIMARY\<BR>IP地址:192.168....]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 30 Jul 2008 10:13:34 GMT</pubDate>
							</item>
							<item>
								<title>搭建11g 单机 linux standby  操作文档</title>
								<link>http://space.itpub.net/7199859/viewspace-412145</link>
								<description><![CDATA[<P>数据库环境oracle 11.1.0.6<BR>操作系统环境 linux redhat update 4 32位<BR>ORACLE_BASE为/u01/app/oracle<BR>ORACLE_HOME为/u01/app/oracle/product/11.1.6/db_1<BR>主库数据文件存放目录/oradata/asm11g/下<BR>备库数据文件存放目录/oradata/standby/下</P>
<P>1.配...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Tue, 29 Jul 2008 11:49:08 GMT</pubDate>
							</item>
							<item>
								<title>orapwd 工具建立密码文件遵守的命名方法</title>
								<link>http://space.itpub.net/7199859/viewspace-411987</link>
								<description><![CDATA[<P>orapwd 工具建立建立的密码文件 一定要orapw+实例名吗 <BR><BR>我在11g和10g 测试是必须要 orapw+实例名 才能登录成功<BR></P>
<P>以下是验证过程</P>
<P><BR>[oracle@asm dbs]$ rm orapwasm<BR>[oracle@asm dbs]$ orapwd file=<FONT color=red>orapwd</FONT>asm pas...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Mon, 28 Jul 2008 15:09:51 GMT</pubDate>
							</item>
							<item>
								<title>宝宝一周岁了</title>
								<link>http://space.itpub.net/7199859/viewspace-410282</link>
								<description><![CDATA[<P>宝宝按阳历算，今天刚好一周岁</P>
<P>按阴历是6月14，已经在老家办了周岁生日酒，</P>
<P>现在在学走路，很爱动，长了两颗牙齿，笑起来还</P>
<P>真好看</P>
<P>那天晚上进行抓阄，宝宝第一下就抓到乒乓球，</P>
<P>第二抓钱，第三抓吃的</P>
<P>看来宝宝的意思...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Sun, 27 Jul 2008 11:04:28 GMT</pubDate>
							</item>
							<item>
								<title>linux 下增加硬盘简单介绍</title>
								<link>http://space.itpub.net/7199859/viewspace-410163</link>
								<description><![CDATA[<P>fdisk /dev/sdc</P>
<P>选择n 创建分区</P>
<P>p创建 主分区</P>
<P>w </P>
<P>保存退出</P>
<P><BR>格式化命令：mkfs.ext3 /dev/sdc1<BR><BR>挂载新分区：mount&nbsp; /dev/sdc1 /oradata</P>
<P>添加到启动项里面</P>
<P>vi /etc/fstab<BR>添加：/dev/sdc1 &n...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Fri, 25 Jul 2008 14:28:09 GMT</pubDate>
							</item>
							<item>
								<title>11g 在线表定义的增强</title>
								<link>http://space.itpub.net/7199859/viewspace-410086</link>
								<description><![CDATA[<P>在11g 以前,在线表定义时 其他对象比如视图和存储过程</P>
<P>与这个表有关系的都会失效,变成invalid</P>
<P><FONT color=#ff0000 size=2>先看10g 的</FONT></P>
<P><FONT color=#ff0000 size=2>SQL&gt;select * &nbsp;from&nbsp; v$version;&nbsp;&nbsp;&nbsp;&nbs...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Fri, 25 Jul 2008 10:51:47 GMT</pubDate>
							</item>
							<item>
								<title>Read-Only Tables in Oracle Database 11g Release 1</title>
								<link>http://space.itpub.net/7199859/viewspace-409921</link>
								<description><![CDATA[<P>在11g版本中,对表的操作可以进行read only 操作 来保护表的数据和表定义</P>
<P>对表执行DML和DDl都是不允许的 对表进行只读和恢复读写用以下两个语句:</P>
<P>ALTER TABLE table_name READ ONLY;<BR>ALTER TABLE table_name READ WRITE;</P>
<P>以下是测试过程:</P...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Thu, 24 Jul 2008 14:45:51 GMT</pubDate>
							</item>
							<item>
								<title>Exception String: Error in invoking target install of makefile</title>
								<link>http://space.itpub.net/7199859/viewspace-408750</link>
								<description><![CDATA[<P>今天上午 在linux rh4 安装oracle 9.2.0.4 过程中运行到63%时</P>
<P>Exception String: Error in invoking target install of makefile /orasys/oracle/product/9.2.0/plsql/lib/ins_plsql.mk</P>
<P>该打的补丁包 也已经打了 </P>
<P>检查安装日志</P>
<P>Except...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Thu, 24 Jul 2008 11:12:58 GMT</pubDate>
							</item>
							<item>
								<title>如何安装rlwrap工具</title>
								<link>http://space.itpub.net/7199859/viewspace-407069</link>
								<description><![CDATA[<P>rlwrap工具可以解决linux下sqlplus <FONT size=2>提供浏览历史命令行的功能,和删除先前输入错误的字母等问题</FONT></P>
<P><FONT size=2>1.安装</FONT></P>
<P><FONT size=2>需要readline包 这个安装光盘就有</FONT></P>
<P>[root@asm RedHat]# cd RPMS/<BR>[root@...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Wed, 23 Jul 2008 12:56:54 GMT</pubDate>
							</item>
							<item>
								<title>oracle 11g username password 增强对大小写敏感</title>
								<link>http://space.itpub.net/7199859/viewspace-406942</link>
								<description><![CDATA[<P>在11g 以前的版本中 用户名的密码对大小写是不敏感的</P>
<P><FONT color=#ff0000 size=5>10G:</FONT></P>
<P>[oracle@asm ~]$ sqlplus paul/paul</P>
<P>SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 22 16:19:01 2008</P>
<P>Copyright (c) 1982, 2005...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Tue, 22 Jul 2008 17:19:59 GMT</pubDate>
							</item>
							<item>
								<title>如何配置oracle客户端连接10g rac 数据库</title>
								<link>http://space.itpub.net/7199859/viewspace-401672</link>
								<description><![CDATA[<P>在客户端 tnsnames.ora 文件加入以下内容</P>
<P>RAC1 =<BR>&nbsp; (DESCRIPTION =<BR>&nbsp;&nbsp;&nbsp; (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.1.221)(PORT = 1521))<BR>&nbsp;&nbsp;&nbsp; (CONNECT_DATA =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SERVER = DED...]]></description>
								<category>blog</category>
								<author>paulyibinyi</author>
								<pubDate>Tue, 15 Jul 2008 15:44:01 GMT</pubDate>
							</item>
							
		</channel>
	</rss>