﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-CY's Java-随笔分类-Oracle</title><link>http://www.blogjava.net/chenying19890808/category/47734.html</link><description>&lt;span style="color: red"&gt;&lt;span style="font-family: 幼圆"&gt;&lt;span style="color: red; font-family: "&gt;自己选择的路，摸爬滚打也要走下去&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;
</description><language>zh-cn</language><lastBuildDate>Tue, 17 Jun 2014 05:45:02 GMT</lastBuildDate><pubDate>Tue, 17 Jun 2014 05:45:02 GMT</pubDate><ttl>60</ttl><item><title>常见Oracle HINT的用法</title><link>http://www.blogjava.net/chenying19890808/archive/2014/06/16/oracle_hint.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Mon, 16 Jun 2014 09:31:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2014/06/16/oracle_hint.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/414813.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2014/06/16/oracle_hint.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/414813.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/414813.html</trackback:ping><description><![CDATA[<span style="font-family: Arial; line-height: 26px;">在SQL语句优化过程中，我们经常会用到hint,现总结一下在SQL优化过程中常见Oracle HINT的用法：</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">1. /*+ALL_ROWS*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明对语句块选择基于开销的优化方法,并获得最佳吞吐量,使资源消耗最小化.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+ALL+_ROWS*/ EMP_NO,EMP_NAM,DAT_IN FROM BSEMPMS WHERE EMP_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">2. /*+FIRST_ROWS*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明对语句块选择基于开销的优化方法,并获得最佳响应时间,使资源消耗最小化.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+FIRST_ROWS*/ EMP_NO,EMP_NAM,DAT_IN FROM BSEMPMS WHERE EMP_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">3. /*+CHOOSE*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明如果数据字典中有访问表的统计信息,将基于开销的优化方法,并获得最佳的吞吐量;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明如果数据字典中没有访问表的统计信息,将基于规则开销的优化方法;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+CHOOSE*/ EMP_NO,EMP_NAM,DAT_IN FROM BSEMPMS WHERE EMP_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">4. /*+RULE*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明对语句块选择基于规则的优化方法.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+ RULE */ EMP_NO,EMP_NAM,DAT_IN FROM BSEMPMS WHERE EMP_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">5. /*+FULL(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明对表选择全局扫描的方法.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+FULL(A)*/ EMP_NO,EMP_NAM FROM BSEMPMS A WHERE EMP_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">6. /*+ROWID(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">提示明确表明对指定表根据ROWID进行访问.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+ROWID(BSEMPMS)*/ * FROM BSEMPMS WHERE ROWID&gt;='AAAAAAAAAAAAAA'</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">AND EMP_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">7. /*+CLUSTER(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">提示明确表明对指定表选择簇扫描的访问方法,它只对簇对象有效.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+CLUSTER */ BSEMPMS.EMP_NO,DPT_NO FROM BSEMPMS,BSDPTMS</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">WHERE DPT_NO='TEC304' AND BSEMPMS.DPT_NO=BSDPTMS.DPT_NO;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">8. /*+INDEX(TABLE INDEX_NAME)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明对表选择索引的扫描方法.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+INDEX(BSEMPMS SEX_INDEX) USE SEX_INDEX BECAUSE THERE ARE FEWMALE BSEMPMS */ FROM BSEMPMS WHERE SEX='M';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">9. /*+INDEX_ASC(TABLE INDEX_NAME)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明对表选择索引升序的扫描方法.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+INDEX_ASC(BSEMPMS PK_BSEMPMS) */ FROM BSEMPMS WHERE DPT_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">10. /*+INDEX_COMBINE*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">为指定表选择位图访问路经,如果INDEX_COMBINE中没有提供作为参数的索引,将选择出位图索引的布尔组合方式.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+INDEX_COMBINE(BSEMPMS SAL_BMI HIREDATE_BMI)*/ * FROM BSEMPMS</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">WHERE SAL&lt;5000000 AND HIREDATE&lt;SYSDATE;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">11. /*+INDEX_JOIN(TABLE INDEX_NAME)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">提示明确命令优化器使用索引作为访问路径.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+INDEX_JOIN(BSEMPMS SAL_HMI HIREDATE_BMI)*/ SAL,HIREDATE</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">FROM BSEMPMS WHERE SAL&lt;60000;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">12. /*+INDEX_DESC(TABLE INDEX_NAME)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">表明对表选择索引降序的扫描方法.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+INDEX_DESC(BSEMPMS PK_BSEMPMS) */ FROM BSEMPMS WHERE DPT_NO='SCOTT';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">13. /*+INDEX_FFS(TABLE INDEX_NAME)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">对指定的表执行快速全索引扫描,而不是全表扫描的办法.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+INDEX_FFS(BSEMPMS IN_EMPNAM)*/ * FROM BSEMPMS WHERE DPT_NO='TEC305';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">14. /*+ADD_EQUAL TABLE INDEX_NAM1,INDEX_NAM2,...*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">提示明确进行执行规划的选择,将几个单列索引的扫描合起来.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+INDEX_FFS(BSEMPMS IN_DPTNO,IN_EMPNO,IN_SEX)*/ * FROM BSEMPMS WHERE EMP_NO='SCOTT' AND DPT_NO='TDC306';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">15. /*+USE_CONCAT*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">对查询中的WHERE后面的OR条件进行转换为UNION ALL的组合查询.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+USE_CONCAT*/ * FROM BSEMPMS WHERE DPT_NO='TDC506' AND SEX='M';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">16. /*+NO_EXPAND*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">对于WHERE后面的OR 或者IN-LIST的查询语句,NO_EXPAND将阻止其基于优化器对其进行扩展.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+NO_EXPAND*/ * FROM BSEMPMS WHERE DPT_NO='TDC506' AND SEX='M';</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">17. /*+NOWRITE*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">禁止对查询块的查询重写操作.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">18. /*+REWRITE*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">可以将视图作为参数.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">19. /*+MERGE(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">能够对视图的各个查询进行相应的合并.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+MERGE(V) */ A.EMP_NO,A.EMP_NAM,B.DPT_NO FROM BSEMPMS A (SELET DPT_NO</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">,AVG(SAL) AS AVG_SAL FROM BSEMPMS B GROUP BY DPT_NO) V WHERE A.DPT_NO=V.DPT_NO</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">AND A.SAL&gt;V.AVG_SAL;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">20. /*+NO_MERGE(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">对于有可合并的视图不再合并.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+NO_MERGE(V) */ A.EMP_NO,A.EMP_NAM,B.DPT_NO FROM BSEMPMS A (SELECT DPT_NO,AVG(SAL) AS AVG_SAL FROM BSEMPMS B GROUP BY DPT_NO) V WHERE A.DPT_NO=V.DPT_NO AND A.SAL&gt;V.AVG_SAL;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">21. /*+ORDERED*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">根据表出现在FROM中的顺序,ORDERED使ORACLE依此顺序对其连接.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+ORDERED*/ A.COL1,B.COL2,C.COL3 FROM TABLE1 A,TABLE2 B,TABLE3 C WHERE A.COL1=B.COL1 AND B.COL1=C.COL1;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">22. /*+USE_NL(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">将指定表与嵌套的连接的行源进行连接,并把指定表作为内部表.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+ORDERED USE_NL(BSEMPMS)*/ BSDPTMS.DPT_NO,BSEMPMS.EMP_NO,BSEMPMS.EMP_NAM FROM BSEMPMS,BSDPTMS WHERE BSEMPMS.DPT_NO=BSDPTMS.DPT_NO;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">23. /*+USE_MERGE(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">将指定的表与其他行源通过合并排序连接方式连接起来.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+USE_MERGE(BSEMPMS,BSDPTMS)*/ * FROM BSEMPMS,BSDPTMS WHERE BSEMPMS.DPT_NO=BSDPTMS.DPT_NO;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">24. /*+USE_HASH(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">将指定的表与其他行源通过哈希连接方式连接起来.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+USE_HASH(BSEMPMS,BSDPTMS)*/ * FROM BSEMPMS,BSDPTMS WHERE BSEMPMS.DPT_NO=BSDPTMS.DPT_NO;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">25. /*+DRIVING_SITE(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">强制与ORACLE所选择的位置不同的表进行查询执行.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+DRIVING_SITE(DEPT)*/ * FROM BSEMPMS,DEPT@BSDPTMS WHERE BSEMPMS.DPT_NO=DEPT.DPT_NO;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">26. /*+LEADING(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">将指定的表作为连接次序中的首表.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">27. /*+CACHE(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">当进行全表扫描时,CACHE提示能够将表的检索块放置在缓冲区缓存中最近最少列表LRU的最近使用端</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+FULL(BSEMPMS) CAHE(BSEMPMS) */ EMP_NAM FROM BSEMPMS;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">28. /*+NOCACHE(TABLE)*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">当进行全表扫描时,CACHE提示能够将表的检索块放置在缓冲区缓存中最近最少列表LRU的最近使用端</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">例如:</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">SELECT /*+FULL(BSEMPMS) NOCAHE(BSEMPMS) */ EMP_NAM FROM BSEMPMS;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">29. /*+APPEND*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">直接插入到表的最后,可以提高速度.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">insert /*+append*/ into test1 select * from test4 ;</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">30. /*+NOAPPEND*/</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">通过在插入语句生存期内停止并行模式来启动常规插入.</span><br style="font-family: Arial; line-height: 26px;" /><span style="font-family: Arial; line-height: 26px;">insert /*+noappend*/ into test1 select * from test4 ;<br /><br /><br /><br /><br /><br /></span><a href="http://blog.csdn.net/tianlesoftware/article/details/4969702" style="color: #666666; text-decoration: none; font-family: 'Microsoft YaHei'; font-size: 20px; line-height: 30px; background-color: #ffffff;">参考</a>blog:http://blog.csdn.net/tianlesoftware/article/details/4969702<img src ="http://www.blogjava.net/chenying19890808/aggbug/414813.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2014-06-16 17:31 <a href="http://www.blogjava.net/chenying19890808/archive/2014/06/16/oracle_hint.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【Oracle】极限挑战—C#+ODP 100万条数据导入Oracle数据库仅用不到1秒</title><link>http://www.blogjava.net/chenying19890808/archive/2011/08/26/357354.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Fri, 26 Aug 2011 06:48:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/08/26/357354.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/357354.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/08/26/357354.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/357354.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/357354.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 作者:&nbsp;Aicken(李鸣)&nbsp;&nbsp;来源:&nbsp;博客园&nbsp;&nbsp;发布时间: 2010-09-09 21:32&nbsp;&nbsp;阅读: 1021 次&nbsp;&nbsp;原文链接&nbsp;&nbsp;&nbsp;全屏阅读　&nbsp;[收藏]&nbsp;&nbsp;摘要：在这里我们将看到的是C#中利用ODP实现在Oracle数据库中瞬间导入百万...&nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/08/26/357354.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/357354.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-08-26 14:48 <a href="http://www.blogjava.net/chenying19890808/archive/2011/08/26/357354.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【Oracle】SQL优化34条</title><link>http://www.blogjava.net/chenying19890808/archive/2011/08/26/357335.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Fri, 26 Aug 2011 03:28:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/08/26/357335.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/357335.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/08/26/357335.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/357335.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/357335.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 我们要做到不但会写SQL,还要做到写出性能优良的SQL,以下为笔者学习、摘录、并汇总部分资料与大家分享！&nbsp;（1）选择最有效率的表名顺序(只在基于规则的优化器中有效)：&nbsp;ORACLE 的解析器按照从右到左的顺序处理FROM子句中的表名，FROM子句中写在最后的表(基础表 driving table)将被最先处理，在FROM子句中包含多个表的情况下,你必须选择记录条数最少的表作为基...&nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/08/26/357335.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/357335.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-08-26 11:28 <a href="http://www.blogjava.net/chenying19890808/archive/2011/08/26/357335.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【Oracle】Oracle Pl/sql 配置备忘录</title><link>http://www.blogjava.net/chenying19890808/archive/2011/06/29/353355.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Wed, 29 Jun 2011 06:28:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/06/29/353355.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/353355.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/06/29/353355.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/353355.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/353355.html</trackback:ping><description><![CDATA[<div><span style="border-collapse: separate; color: #000000; font-family: Simsun; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span style="font-family: Arial, sans-serif, Helvetica, Tahoma; font-size: 14px; line-height: 25px; text-align: left; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="font-size: large; "><strong style="font-weight: bold; ">PL/SQL配置：</strong></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">注意:<span style="color: #ff0000; "><span style="font-size: medium; ">请下载最新的oracle instant客户端..有些pl/sql Developer不支持老版本的..</span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">还有种情况是原来装过oracle客户端..再用pl/sql的..配置的客户端地址可能不起效果..需要确定pl/sql指定的oracle目录到底是那个</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">可以通过连接不存在的 数据库sid...弹出错误中可以显示 &nbsp;找不到d:\oracleclient\tnsname.ora</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">如果提示找不到相关sid的...表示设置成功..只是读取的tnsname.ora文件是旧的客户端文件...<br /><br />配置PL/SQL的oracle的目录位置，或者client的位置：&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tool--&gt;preferences--&gt;connection--&gt;oracle home&nbsp;<br /><br /><img src="http://dl.iteye.com/upload/picture/pic/49697/e4fabd16-dc82-3d19-94f3-5f9a210dd793.jpg" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " height="616" width="699" /></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><img src="http://dl.iteye.com/upload/picture/pic/49761/7ec2bbce-a2da-3ef0-aac4-a9963ae90943.jpg" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " height="85" width="282" /></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">搜索出tnsnames.ora文件（此文件是oracle数据库的文件不是PL/SQL的） 并添加下面代码&nbsp;<br />XLSGRID = (DESCRIPTION =&nbsp;<br />(ADDRESS_LIST =&nbsp;<br />(ADDRESS = (PROTOCOL = TCP)(HOST = www.xls.net)(PORT = 1521)) &nbsp;<br />)&nbsp;<br />(CONNECT_DATA =&nbsp;<br />(SERVICE_NAME = ORCL)&nbsp;<br />)&nbsp;<br />&nbsp; )//服务器上的&nbsp;<br />XE =&nbsp;<br />(DESCRIPTION =&nbsp;<br />&nbsp; (ADDRESS = (PROTOCOL = TCP)(HOST = foolraty-7e652c)(PORT = 1521))&nbsp;<br />(CONNECT_DATA =&nbsp;<br />(SERVER = DEDICATED)&nbsp;<br />(SERVICE_NAME = XE)&nbsp;<br />)&nbsp;<br />&nbsp; )//本地的&nbsp;<br />登录PL/SQL后，数据库中的数据在PL/SQL，左边object里的tablespace -&amp;gt;user里&nbsp;<br /><br />了解Oracle Database Instant Client的作用，需要通过它进行oracle数据库连接开发，也可以用PL/SQL通过它的tnsnames.ora配置远程连接oracle&nbsp;<br /><br /><br /><br /><br /><br /><span style="font-size: large; "><strong style="font-weight: bold; ">免安装Oracle客户端使用PL/SQL连接Oracle</strong>&nbsp;</span>&nbsp;<br />大家都知道，用PL/SQL连接Oracle，是需要安装Oracle客户端软件的。有没要想过不安装Oracle客户端直接连接Oracle呢？&nbsp;<br /><br />其实我一直想这样做，因为这个客户端实在太让人讨厌了！！！不但会安装一个JDK，而且还会把自己放在环境变量的最前面，会造成不小的麻烦。&nbsp;<br /><br />其实我之前问过很多人的，但是他们都说一定需要安装Oracle客户端的.......直到昨天无意中发现了以下这个方法：&nbsp;<br /><br />只需要在Oracle下载一个叫Instant Client Package的软件就可以了，这个软件不需要安装，只要解压就可以用了，很方便，就算重装了系统还是可以用的。&nbsp;<br /><br />下载地址：http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html&nbsp;<br /><br />下载这个，Instant Client Package - Basic包。然后解压到任意目录，在这个目录下建立NETWORK文件夹，接着再这个文件夹下再建立ADMIN文件夹，然后建立tnsnames.ora文件，内容如下：&nbsp;<br /><br />oracledata =&nbsp;<br />(DESCRIPTION =&nbsp;<br />(ADDRESS_LIST =&nbsp;<br />(ADDRESS = (PROTOCOL = TCP)(HOST = yourhostIp )(PORT = 1521))&nbsp;<br />)&nbsp;<br />(CONNECT_DATA =&nbsp;<br />(SERVICE_NAME = yourSID )&nbsp;<br />)&nbsp;<br />)&nbsp;<br />这里根据自己的实际情况配置。接着打开PL/SQL，在perference里面设置OCI Library和Oracle_home，我的设置是OCI Library=c:\oracleclient\oci.dll,Oracle_home=c:\oracleclient。&nbsp;<br /><br />&nbsp; 根据自己的实际情况配置，其实就是刚才下载下来的那个包的路径。&nbsp;<br /><br />原文连接:http://www.bootad.cn/post/185.html&nbsp;<br /><br /><br /><br /><br /><br /><br /><br /><span style="font-size: large; "><strong style="font-weight: bold; ">oracle字符集</strong>&nbsp;</span>&nbsp;&nbsp;<br />详细信息可以google搜索："subset-superset pairs site:oracle.com"</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br />设置window的字符集：regedit-&amp;gt;HKEY_LOCAL_MACHINE-&amp;gt;SOFTWARE-&amp;gt;ORACLE-&amp;gt;HOMEO-&amp;gt;NLS_LANG&nbsp;<br />windows本身：SIMPLIFIED&nbsp;<br />AMERICAN_AMERICA.ZHS16GBK&nbsp;<br /><br />在DOS下查看字符集：echo %NLS_LANG%&nbsp;<br /><br /><br />在不同数据库做数据迁移、同其它系统交换数据等，常常因为字符集不同而导致迁移失败或数据库内数据变成乱码。现在我将oracle字符集相关的一些知识做个简单总结&nbsp;<br /><br />一、什么是oracle字符集&nbsp;<br /><br />Oracle字符集是一个字节数据的解释的符号集合,有大小之分,有相互的包容关系。ORACLE 支持国家语言的体系结构允许你使用本地化语言来存储，处理，检索数据。它使数据库工具，错误消息，排序次序，日期，时间，货币，数字，和日历自动适应本地化语言和平台。&nbsp;<br /><br />影响oracle数据库字符集最重要的参数是NLS_LANG参数。它的格式如下:&nbsp;<br /><br />NLS_LANG = language_territory.charset&nbsp;<br /><br />它有三个组成部分(语言、地域和字符集)，每个成分控制了NLS子集的特性。其中:&nbsp;<br /><br />Language 指定服务器消息的语言，territory 指定服务器的日期和数字格式，charset 指定字符集。如:AMERICAN _ AMERICA. ZHS16GBK&nbsp;<br /><br />从NLS_LANG的组成我们可以看出，真正影响数据库字符集的其实是第三部分。所以两个数据库之间的字符集只要第三部分一样就可以相互导入导出数据，前面影响的只是提示信息是中文还是英文。&nbsp;<br /><br />二、如何查询Oracle的字符集&nbsp;<br /><br />很多人都碰到过因为字符集不同而使数据导入失败的情况。这涉及三方面的字符集，一是oracel server端的字符集，二是oracle client端的字符集;三是dmp文件的字符集。在做数据导入的时候，需要这三个字符集都一致才能正确导入。&nbsp;<br /><br />1、查询oracle server端的字符集&nbsp;<br /><br />有很多种方法可以查出oracle server端的字符集，比较直观的查询方法是以下这种:&nbsp;<br /><br />SQL&amp;gt;select userenv(&#8216;language&#8217;) from dual;&nbsp;<br /><br />结果类似如下:AMERICAN _ AMERICA. ZHS16GBK&nbsp;<br /><br />2、如何查询dmp文件的字符集&nbsp;<br /><br />用oracle的exp工具导出的dmp文件也包含了字符集信息，dmp文件的第2 和第3个字节记录了dmp文件的字符集。如果dmp文件不大，比如只有几M或几十M，可以用UltraEdit打开(16进制方式)，看第2第3个字节的内容，如0354，然后用以下SQL查出它对应的字符集:&nbsp;<br /><br />SQL&amp;gt; select nls_charset_name(to_number('0354','xxxx')) from dual;&nbsp;<br /><br />ZHS16GBK&nbsp;<br /><br />如果dmp文件很大，比如有2G以上(这也是最常见的情况)，用文本编辑器打开很慢或者完全打不开，可以用以下命令(在unix主机上):&nbsp;<br /><br />cat exp.dmp |od -x|head -1|awk '{print $2 $3}'|cut -c 3-6&nbsp;<br /><br />然后用上述SQL也可以得到它对应的字符集。&nbsp;<br /><br />3、查询oracle client端的字符集&nbsp;<br /><br />这个比较简单。在windows平台下，就是注册表里面相应OracleHome的NLS_LANG。还可以在dos窗口里面自己设置，比如:&nbsp;<br /><br />set nls_lang=AMERICAN_AMERICA.ZHS16GBK&nbsp;<br /><br />这样就只影响这个窗口里面的环境变量。&nbsp;<br /><br />在unix平台下，就是环境变量NLS_LANG。&nbsp;<br /><br />$echo $NLS_LANG&nbsp;<br /><br /><br />AMERICAN_AMERICA.ZHS16GBK&nbsp;<br /><br />如果检查的结果发现server端与client端字符集不一致，请统一修改为同server端相同的字符集。&nbsp;<br /><br />三、修改oracle的字符集&nbsp;<br /><br /><strong style="font-weight: bold; ">上文说过，oracle的字符集有互相的包容关系。如us7ascii就是 zhs16gbk的子集,从us7ascii到zhs16gbk不会有数据解释上的问题,不会有数据丢失。在所有的字符集中utf8应该是最大,因为它基于unicode,双字节保存字符(也因此在存储空间上占用更多)。&nbsp;<br /></strong>一旦数据库创建后，数据库的字符集理论上讲是不能改变的。因此，在设计和安装之初考虑使用哪一种字符集十分重要。根据Oracle的官方说明，字符集的转换是从子集到超集受支持,反之不行。如果两种字符集之间根本没有子集和超集的关系，那么字符集的转换是不受oracle支持的。对数据库server而言，错误的修改字符集将会导致很多不可测的后果，可能会严重影响数据库的正常运行，所以在修改之前一定要确认两种字符集是否存在子集和超集的关系。一般来说，除非万不得已，我们不建议修改oracle数据库server端的字符集。特别说明，我们最常用的两种字符集ZHS16GBK和ZHS16CGB231280之间不存在子集和超集关系，因此理论上讲这两种字符集之间的相互转换不受支持。&nbsp;<br /><br />1、修改server端字符集(不建议使用)&nbsp;<br /><br />在oracle 8之前，可以用直接修改数据字典表props$来改变数据库的字符集。但oracle8之后，至少有三张系统表记录了数据库字符集的信息，只改props$表并不完全，可能引起严重的后果。正确的修改方法如下:&nbsp;<br /><br />$sqlplus /nolog&nbsp;<br /><br /><br />SQL&amp;gt;conn / as sysdba;&nbsp;<br /><br />若此时数据库服务器已启动，则先执行SHUTDOWN IMMEDIATE命令关闭数据库服务器，然后执行以下命令:&nbsp;<br /><br />SQL&amp;gt;STARTUP MOUNT;&nbsp;<br /><br />SQL&amp;gt;ALTER SYSTEM ENABLE RESTRICTED SESSION;&nbsp;<br /><br />SQL&amp;gt;ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;&nbsp;<br /><br /><br />SQL&amp;gt;ALTER SYSTEM SET AQ_TM_PROCESSES=0;&nbsp;<br /><br />SQL&amp;gt;ALTER DATABASE OPEN;&nbsp;<br /><br />SQL&amp;gt;ALTER DATABASE CHARACTER SET ZHS16GBK;&nbsp;<br /><br />SQL&amp;gt;ALTER DATABASE national CHARACTER SET ZHS16GBK;&nbsp;<br /><br />SQL&amp;gt;SHUTDOWN IMMEDIATE;&nbsp;<br /><br />SQL&amp;gt;STARTUP&nbsp;<br /><br />2、修改dmp文件字符集&nbsp;<br /><br />上文说过，dmp文件的第2第3字节记录了字符集信息，因此直接修改dmp文件的第 2第3字节的内容就可以&#8216;骗&#8217;过oracle的检查。这样做理论上也仅是从子集到超集可以修改，但很多情况下在没有子集和超集关系的情况下也可以修改，我们常用的一些字符集，如US7ASCII，WE8ISO8859P1，ZHS16CGB231280，ZHS16GBK基本都可以改。因为改的只是dmp 文件，所以影响不大。&nbsp;<br /><br />具体的修改方法比较多，最简单的就是直接用UltraEdit修改dmp文件的第2和第3个字节。比如想将dmp文件的字符集改为ZHS16GBK，可以用以下SQL查出该种字符集对应的16进制代码:&nbsp;<br /><br />SQL&amp;gt; select to_char(nls_charset_id('ZHS16GBK'), 'xxxx') from dual;&nbsp;<br /><br /><br />0354&nbsp;<br /><br />然后将dmp文件的2、3字节修改为0354即可。&nbsp;<br /><br />如果dmp文件很大，用ue无法打开，就需要用程序的方法了。网上有人用java存储过程写了转换的程序(用java存储过程的好处是通用性教好，缺点是比较麻烦)。我在windows下测试通过。但要求oracle数据库一定要安装 JVM选项。有兴趣的朋友可以研究一下程序代码&nbsp;<br /><br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 关闭Oracle 开机自动启动：&nbsp;<br /><br />在你的管理--- 服务---找到orcl的所有服务.属性改成手机的就行了.想用的话只要起二个服务.一个是server,一个是tns服务.&nbsp;<br /><br /><br /><br /><span style="font-size: large; "><strong style="font-weight: bold; ">windows下Orcale查询结果中文显示？乱码问题</strong>&nbsp;</span>&nbsp;<br /><br />还有最后一个问题，需要设置一个字符集，这样查询出来的数据才不会是乱码，写一个批处理pldev. bat放到pl安装目录下，内容如下：&nbsp;<br /><br />set nls_lang=SIMPLIFIED CHINESE_CHINA.ZHS16GBK&nbsp;<br />PLSQLDev.exe&nbsp;<br /><br />这个字符集，指的是服务器端的字符集，请根据实际情况配置。&nbsp;<br /><br />或者：&nbsp;<br /><img src="http://dl.iteye.com/upload/picture/pic/49695/dbbb97e6-4a8a-3a4e-bd68-1309a3d62624.jpg" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " height="514" width="426" /></p></span></span></div><img src ="http://www.blogjava.net/chenying19890808/aggbug/353355.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-06-29 14:28 <a href="http://www.blogjava.net/chenying19890808/archive/2011/06/29/353355.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【PL/SQL 习题】【2】删除日期无用的空格</title><link>http://www.blogjava.net/chenying19890808/archive/2011/02/03/343891.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Thu, 03 Feb 2011 12:37:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/02/03/343891.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343891.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/02/03/343891.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343891.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343891.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/02/03/343891.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343891.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-02-03 20:37 <a href="http://www.blogjava.net/chenying19890808/archive/2011/02/03/343891.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【PL/SQL 习题】【1】求圆的面积</title><link>http://www.blogjava.net/chenying19890808/archive/2011/02/03/343886.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Thu, 03 Feb 2011 05:26:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/02/03/343886.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343886.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/02/03/343886.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343886.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343886.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/02/03/343886.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343886.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-02-03 13:26 <a href="http://www.blogjava.net/chenying19890808/archive/2011/02/03/343886.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【PL/SQL 笔记 1】使用替代变量时，如何合二为一</title><link>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343873.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Wed, 02 Feb 2011 08:12:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343873.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343873.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343873.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343873.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343873.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/02/02/343873.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343873.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-02-02 16:12 <a href="http://www.blogjava.net/chenying19890808/archive/2011/02/02/343873.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ORA-01843: 无效的月份</title><link>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343871.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Wed, 02 Feb 2011 06:46:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343871.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343871.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343871.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343871.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343871.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/02/02/343871.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343871.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-02-02 14:46 <a href="http://www.blogjava.net/chenying19890808/archive/2011/02/02/343871.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle PLSQL实例精解(原书第4版) 源码下载</title><link>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343870.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Wed, 02 Feb 2011 05:53:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343870.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343870.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/02/02/343870.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343870.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343870.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/02/02/343870.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343870.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-02-02 13:53 <a href="http://www.blogjava.net/chenying19890808/archive/2011/02/02/343870.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>专家解读:如何快速成为一个合格的Oracle DBA</title><link>http://www.blogjava.net/chenying19890808/archive/2011/02/01/343857.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Tue, 01 Feb 2011 14:32:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/02/01/343857.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343857.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/02/01/343857.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343857.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343857.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/02/01/343857.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343857.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-02-01 22:32 <a href="http://www.blogjava.net/chenying19890808/archive/2011/02/01/343857.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle 基础知识习题175道</title><link>http://www.blogjava.net/chenying19890808/archive/2011/02/01/343849.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Tue, 01 Feb 2011 08:39:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/02/01/343849.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343849.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/02/01/343849.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343849.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343849.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;ORACLE数据库课程习题&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1通过SQL*PLUS等数据库访问工具登录数据库服务器时,所需的数据库连接串是在以下哪个文件中定义的( )A(A) tnsnames.ora(B) sqlnet.ora(C) listener.ora(D) init.ora(E) 以上...&nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/02/01/343849.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343849.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-02-01 16:39 <a href="http://www.blogjava.net/chenying19890808/archive/2011/02/01/343849.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>CASE中文字符集问题 </title><link>http://www.blogjava.net/chenying19890808/archive/2011/01/31/343820.html</link><dc:creator>wokaoJune</dc:creator><author>wokaoJune</author><pubDate>Mon, 31 Jan 2011 13:35:00 GMT</pubDate><guid>http://www.blogjava.net/chenying19890808/archive/2011/01/31/343820.html</guid><wfw:comment>http://www.blogjava.net/chenying19890808/comments/343820.html</wfw:comment><comments>http://www.blogjava.net/chenying19890808/archive/2011/01/31/343820.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/chenying19890808/comments/commentRss/343820.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/chenying19890808/services/trackbacks/343820.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/chenying19890808/archive/2011/01/31/343820.html'>阅读全文</a><img src ="http://www.blogjava.net/chenying19890808/aggbug/343820.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/chenying19890808/" target="_blank">wokaoJune</a> 2011-01-31 21:35 <a href="http://www.blogjava.net/chenying19890808/archive/2011/01/31/343820.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>