锘??xml version="1.0" encoding="utf-8" standalone="yes"?>MM1313亚洲国产精品,日韩一卡2卡3卡4卡新区亚洲,国产精品亚洲成在人线http://m.tkk7.com/wphmoon/archive/2011/02/16/344474.html鏈堟寕澶滀腑澶?/dc:creator>鏈堟寕澶滀腑澶?/author>Wed, 16 Feb 2011 13:31:00 GMThttp://m.tkk7.com/wphmoon/archive/2011/02/16/344474.htmlhttp://m.tkk7.com/wphmoon/comments/344474.htmlhttp://m.tkk7.com/wphmoon/archive/2011/02/16/344474.html#Feedback6http://m.tkk7.com/wphmoon/comments/commentRss/344474.htmlhttp://m.tkk7.com/wphmoon/services/trackbacks/344474.html闃呰鍏ㄦ枃

]]>
springside3.*涓璴og4j鍜宩ava.util.concurrent鐨勭粨鍚堜嬌鐢?/title><link>http://m.tkk7.com/wphmoon/archive/2011/02/13/344206.html</link><dc:creator>鏈堟寕澶滀腑澶?/dc:creator><author>鏈堟寕澶滀腑澶?/author><pubDate>Sun, 13 Feb 2011 13:20:00 GMT</pubDate><guid>http://m.tkk7.com/wphmoon/archive/2011/02/13/344206.html</guid><wfw:comment>http://m.tkk7.com/wphmoon/comments/344206.html</wfw:comment><comments>http://m.tkk7.com/wphmoon/archive/2011/02/13/344206.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/wphmoon/comments/commentRss/344206.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/wphmoon/services/trackbacks/344206.html</trackback:ping><description><![CDATA[     鎽樿:         鍦╯pringside3.*涓殑showcase妗堜緥涓紝鏈変竴涓妸log4j鐨勬棩蹇楀瓨鍏ユ暟鎹簱鐨勬紨紺猴紝涓嬮潰鏄垜瀵硅繖涓渚嬬殑瀛︿範絎旇銆?1銆佹垜浠鍏堟潵鐪嬩笅log4j鐩稿叧鏃ュ織鐨勯厤緗細 #Async Database Appender (Store business&n...  <a href='http://m.tkk7.com/wphmoon/archive/2011/02/13/344206.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/wphmoon/aggbug/344206.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/wphmoon/" target="_blank">鏈堟寕澶滀腑澶?/a> 2011-02-13 21:20 <a href="http://m.tkk7.com/wphmoon/archive/2011/02/13/344206.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤XmemcachedClient璁劇疆緙撳瓨瀵硅薄榪囨湡鏃墮棿鐨勯棶棰?/title><link>http://m.tkk7.com/wphmoon/archive/2011/01/21/343337.html</link><dc:creator>鏈堟寕澶滀腑澶?/dc:creator><author>鏈堟寕澶滀腑澶?/author><pubDate>Fri, 21 Jan 2011 08:18:00 GMT</pubDate><guid>http://m.tkk7.com/wphmoon/archive/2011/01/21/343337.html</guid><wfw:comment>http://m.tkk7.com/wphmoon/comments/343337.html</wfw:comment><comments>http://m.tkk7.com/wphmoon/archive/2011/01/21/343337.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/wphmoon/comments/commentRss/343337.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/wphmoon/services/trackbacks/343337.html</trackback:ping><description><![CDATA[鍓嶅嚑澶╁湪鍋氫竴涓秹鍙婂埌memcache鐨勯」鐩紝浣跨敤XmemcachedClient鏉ユ搷浣渕emcache錛岀敱浜庢槸涓涓搴︾殑鏁版嵁錛屼繚瀛樻暟鎹椂榪欐牱鐨?br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><img align="top" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #000000"> memcachedClient.set(key, expiredTime, value)</span></div> 鍏朵腑璁劇疆浜嗚繃鏈熸椂闂翠負90澶?br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><img align="top" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #0000ff">int</span><span style="color: #000000"> cacheExpireTime </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">60</span><span style="color: #000000">*</span><span style="color: #000000">60</span><span style="color: #000000">*</span><span style="color: #000000">24</span><span style="color: #000000">*</span><span style="color: #000000">90</span><span style="color: #000000">;</span></div> 緇撴灉灝辨澂鍏蜂簡錛屼繚瀛樺悗鐢╣et鏂規硶鍙栨椂閮芥槸null錛涘悗鏉ユ棤鎰忎腑鎶婅繃鏈熸椂闂存敼鎴愬皬浜?0澶╋紝灝卞畬鍏ㄦ病鏈夐棶棰橈紝緇忚繃璋鋒瓕澶х鐨勫府蹇欙紝緇堜簬鍙戠幇浜嗗師鍥犮?br /> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><img align="top" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #000000">鏈嶅姟绔殑澶勭悊<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" alt="" />鏃墮棿澶勭悊婧愪唬鐮併恗emcached.c銆戝涓嬶細<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" alt="" />#define REALTIME_MAXDELTA </span><span style="color: #000000">60</span><span style="color: #000000">*</span><span style="color: #000000">60</span><span style="color: #000000">*</span><span style="color: #000000">24</span><span style="color: #000000">*</span><span style="color: #000000">30</span><span style="color: #000000">                     </span><span style="color: #008000">//</span><span style="color: #008000"> 瀹氫箟30澶╃殑縐掓暟</span><span style="color: #008000"><br /> <img id="Codehighlighter1_150_719_Open_Image" onclick="this.style.display='none'; Codehighlighter1_150_719_Open_Text.style.display='none'; Codehighlighter1_150_719_Closed_Image.style.display='inline'; Codehighlighter1_150_719_Closed_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" alt="" /><img style="display: none" id="Codehighlighter1_150_719_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_150_719_Closed_Text.style.display='none'; Codehighlighter1_150_719_Open_Image.style.display='inline'; Codehighlighter1_150_719_Open_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" alt="" /></span><span style="color: #0000ff">static</span><span style="color: #000000"> rel_time_t realtime(</span><span style="color: #0000ff">const</span><span style="color: #000000"> time_t exptime) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_150_719_Closed_Text"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_150_719_Open_Text"><span style="color: #000000">{<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />       </span><span style="color: #0000ff">if</span><span style="color: #000000"> (exptime </span><span style="color: #000000">==</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">) </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_227_515_Open_Image" onclick="this.style.display='none'; Codehighlighter1_227_515_Open_Text.style.display='none'; Codehighlighter1_227_515_Closed_Image.style.display='inline'; Codehighlighter1_227_515_Closed_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" alt="" /><img style="display: none" id="Codehighlighter1_227_515_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_227_515_Closed_Text.style.display='none'; Codehighlighter1_227_515_Open_Image.style.display='inline'; Codehighlighter1_227_515_Open_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" alt="" />       </span><span style="color: #0000ff">if</span><span style="color: #000000"> (exptime </span><span style="color: #000000">></span><span style="color: #000000"> REALTIME_MAXDELTA) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_227_515_Closed_Text"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_227_515_Open_Text"><span style="color: #000000">{                       </span><span style="color: #008000">//</span><span style="color: #008000"> 瓚呰繃30澶╋紝鏄粷瀵規椂闂?/span><span style="color: #008000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">              </span><span style="color: #0000ff">if</span><span style="color: #000000"> (exptime </span><span style="color: #000000"><=</span><span style="color: #000000"> process_started)                         </span><span style="color: #008000">//</span><span style="color: #008000"> 灝忎簬榪涚▼鍚姩鏃ユ湡</span><span style="color: #008000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">                      </span><span style="color: #0000ff">return</span><span style="color: #000000"> (rel_time_t)</span><span style="color: #000000">1</span><span style="color: #000000">;                                  </span><span style="color: #008000">//<br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">              </span><span style="color: #0000ff">return</span><span style="color: #000000"> (rel_time_t)(exptime </span><span style="color: #000000">-</span><span style="color: #000000"> process_started);   </span><span style="color: #008000">//</span><span style="color: #008000"> 榪斿洖榪涚▼鍚姩涔嬪悗鐨勬椂闂村樊</span><span style="color: #008000"><br /> <img id="Codehighlighter1_522_717_Open_Image" onclick="this.style.display='none'; Codehighlighter1_522_717_Open_Text.style.display='none'; Codehighlighter1_522_717_Closed_Image.style.display='inline'; Codehighlighter1_522_717_Closed_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" alt="" /><img style="display: none" id="Codehighlighter1_522_717_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_522_717_Closed_Text.style.display='none'; Codehighlighter1_522_717_Open_Image.style.display='inline'; Codehighlighter1_522_717_Open_Text.style.display='inline';" align="top" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" alt="" /></span><span style="color: #000000">       }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_522_717_Closed_Text"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_522_717_Open_Text"><span style="color: #000000">{                                                                   </span><span style="color: #008000">//</span><span style="color: #008000"> 涓嶈秴榪?0澶╋紝鏄浉瀵規椂闂?/span><span style="color: #008000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">              </span><span style="color: #0000ff">return</span><span style="color: #000000"> (rel_time_t)(exptime </span><span style="color: #000000">+</span><span style="color: #000000"> current_time);       </span><span style="color: #008000">//</span><span style="color: #008000"> exptime + (tvsec - process_started)</span><span style="color: #008000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" /></span><span style="color: #000000">       }</span></span><span style="color: #000000"><br /> <img align="top" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span></div> 鍘熸潵瓚呰繃30澶╁氨鑷姩杞崲鎴愮粷瀵規椂闂達紝鍜岃繘紼嬪惎鍔ㄦ椂闂存瘮杈冿紝鏄劇劧60*60*24*90灝忎簬鍚姩鏃ユ湡鐨勭粷瀵規暟錛屾墍浠ュ璞′竴瀛樺叆灝辮繃鏈熶簡錛岃偗瀹氬彇涓嶅埌鏁版嵁銆?br /> 鍏蜂綋鐨勯棶棰樿鍥磋榪欑瘒鏂囩珷錛?a >http://blog.sina.com.cn/s/blog_539d361e0100nc9h.html</a>銆? <img src ="http://m.tkk7.com/wphmoon/aggbug/343337.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/wphmoon/" target="_blank">鏈堟寕澶滀腑澶?/a> 2011-01-21 16:18 <a href="http://m.tkk7.com/wphmoon/archive/2011/01/21/343337.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>xfire鐨剋ebservice鏂規硶涓璬ate綾誨瀷鍙傛暟涓簄ull鍑虹幇絀烘寚閽堥敊璇殑闂http://m.tkk7.com/wphmoon/archive/2010/02/24/313758.html鏈堟寕澶滀腑澶?/dc:creator>鏈堟寕澶滀腑澶?/author>Wed, 24 Feb 2010 01:12:00 GMThttp://m.tkk7.com/wphmoon/archive/2010/02/24/313758.htmlhttp://m.tkk7.com/wphmoon/comments/313758.htmlhttp://m.tkk7.com/wphmoon/archive/2010/02/24/313758.html#Feedback2http://m.tkk7.com/wphmoon/comments/commentRss/313758.htmlhttp://m.tkk7.com/wphmoon/services/trackbacks/313758.html
public void writeObject(Object object, MessageWriter writer, MessageContext context)
    
{
        Calendar c 
= Calendar.getInstance();
        c.setTime((Date) object);
        writer.writeValue(format.format(c));
    }
淇敼榪囧悗鐨勪唬鐮佸涓嬶細
public void writeObject(Object object, MessageWriter writer,
            MessageContext context) 
{
        
if (object != null{
            Calendar c 
= Calendar.getInstance();
            c.setTime((Date) object);
            writer.writeValue(format.format(c));
        }
 else {
            writer.writeXsiNil();
        }

    }
鍔犱簡涓null鐨勫垽鏂氨濂戒簡銆傚緢涓嶅垢鐨勬槸xfire鐜板湪鍙樻垚浜哻xf錛屾寚鏈涘畼鏂瑰湪鏂扮殑xfire鐗堟湰涓敼姝h繖涓猙ug鏄病鎴忎簡錛屽ぇ瀹惰繕鏄嚜宸辨敼鏀圭敤鍚с?

]]>
oracle涓璱n錛宯ot in鍜宔xists錛宯ot exists涔嬮棿鐨勫尯鍒?/title><link>http://m.tkk7.com/wphmoon/archive/2009/01/07/250325.html</link><dc:creator>鏈堟寕澶滀腑澶?/dc:creator><author>鏈堟寕澶滀腑澶?/author><pubDate>Wed, 07 Jan 2009 07:03:00 GMT</pubDate><guid>http://m.tkk7.com/wphmoon/archive/2009/01/07/250325.html</guid><wfw:comment>http://m.tkk7.com/wphmoon/comments/250325.html</wfw:comment><comments>http://m.tkk7.com/wphmoon/archive/2009/01/07/250325.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.tkk7.com/wphmoon/comments/commentRss/250325.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/wphmoon/services/trackbacks/250325.html</trackback:ping><description><![CDATA[         涓鐩村惉鍒扮殑閮芥槸璇村敖閲忕敤exists涓嶈鐢╥n錛屽洜涓篹xists鍙垽鏂瓨鍦ㄨ宨n闇瑕佸姣斿鹼紝鎵浠xists姣旇緝蹇紝浣嗙湅浜嗙湅緗戜笂鐨勪竴浜涗笢瑗挎墠鍙戠幇鏍規湰涓嶆槸榪欎箞鍥炰簨銆?br /> 涓嬮潰榪欐鏄妱鐨?br /> Select * from T1 where x in ( select y from T2 )<br /> 鎵ц鐨勮繃紼嬬浉褰撲簬:<br /> select * <br />   from t1, ( select distinct y from t2 ) t2<br />  where t1.x = t2.y;<br /> <br /> select * from t1 where exists ( select null from t2 where y = x )<br /> 鎵ц鐨勮繃紼嬬浉褰撲簬:<br /> for x in ( select * from t1 )<br />    loop<br />       if ( exists ( select null from t2 where y = x.x )<br />       then <br />          OUTPUT THE RECORD<br />       end if<br /> end loop<br /> <br /> 浠庢垜鐨勮搴︽潵璇達紝in鐨勬柟寮忔瘮杈冪洿瑙傦紝exists鍒欐湁浜涚粫錛岃屼笖in鍙互鐢ㄤ簬鍚勭瀛愭煡璇紝鑰宔xists濂藉儚鍙敤浜庡叧鑱斿瓙鏌ヨ錛堝叾浠栧瓙鏌ヨ褰撶劧涔熷彲浠ョ敤錛屽彲鎯滄病鎰忎箟錛夈?br /> 鐢變簬exists鏄敤loop鐨勬柟寮忥紝鎵浠ワ紝寰幆鐨勬鏁板浜巈xists褰卞搷鏈澶э紝鎵浠ワ紝澶栬〃瑕佽褰曟暟灝戯紝鍐呰〃灝辨棤鎵璋撲簡錛岃宨n鐢ㄧ殑鏄痟ash join錛屾墍浠ュ唴琛ㄥ鏋滃皬錛屾暣涓煡璇㈢殑鑼冨洿閮戒細寰堝皬錛屽鏋滃唴琛ㄥ緢澶э紝澶栬〃濡傛灉涔熷緢澶у氨寰堟參浜嗭紝榪欐椂鍊檈xists鎵嶇湡姝g殑浼氬揩榪噄n鐨勬柟寮忋?br />          涓嬮潰榪欐榪樻槸鎶勭殑 <div><font face="瀹嬩綋"><font size="2"><strong>not in 鍜宯ot exists</strong><br /> 濡傛灉鏌ヨ璇彞浣跨敤浜唍ot in 閭d箞鍐呭琛ㄩ兘榪涜鍏ㄨ〃鎵弿錛屾病鏈夌敤鍒扮儲寮曪紱<br /> 鑰宯ot extsts 鐨勫瓙鏌ヨ渚濈劧鑳界敤鍒拌〃涓婄殑绱㈠紩銆?br /> 鎵浠ユ棤璁洪偅涓〃澶э紝鐢╪ot exists閮芥瘮not in瑕佸揩銆?/font></font></div>           涔熷氨鏄錛宨n鍜宔xists闇瑕佸叿浣撴儏鍐靛叿浣撳垎鏋愶紝not in鍜宯ot exists灝變笉鐢ㄥ垎鏋愪簡錛屽敖閲忕敤not exists灝卞ソ浜嗐?br /> <img src ="http://m.tkk7.com/wphmoon/aggbug/250325.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/wphmoon/" target="_blank">鏈堟寕澶滀腑澶?/a> 2009-01-07 15:03 <a href="http://m.tkk7.com/wphmoon/archive/2009/01/07/250325.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>濡備綍鏌ョ湅sql鐨勬墽琛岃鍒?/title><link>http://m.tkk7.com/wphmoon/archive/2009/01/07/250303.html</link><dc:creator>鏈堟寕澶滀腑澶?/dc:creator><author>鏈堟寕澶滀腑澶?/author><pubDate>Wed, 07 Jan 2009 04:00:00 GMT</pubDate><guid>http://m.tkk7.com/wphmoon/archive/2009/01/07/250303.html</guid><wfw:comment>http://m.tkk7.com/wphmoon/comments/250303.html</wfw:comment><comments>http://m.tkk7.com/wphmoon/archive/2009/01/07/250303.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/wphmoon/comments/commentRss/250303.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/wphmoon/services/trackbacks/250303.html</trackback:ping><description><![CDATA[鍦╬l/sql developer涓紝鐩存帴鍐欐潯sql錛屾寜F5錛屽氨鍙互璋冨嚭鎵ц璁″垝錛屼絾鍦ㄥ彧鏈塻ql plus鐨勬儏鍐典笅錛屽彧鑳界敤涓嬮潰榪欎釜璇彞浜嗭紝<br /> explain plan for select ....<br /> 鐒跺悗鍐嶆潵涓鍙?br /> select * from table(dbms_xplan.display());<br /> 灝變細鍑虹幇涓涓被浼間笅闈㈢殑淇℃伅<br /> PLAN_TABLE_OUTPUT<br /> --------------------------------------------------------------------------------<br /> <br /> ----------------------------------------------------------------------------<br /> | Id  | Operation                    |  Name       | Rows  | Bytes | Cost  |<br /> ----------------------------------------------------------------------------<br /> |   0 | SELECT STATEMENT             |             |       |       |       |<br /> |   1 |  NESTED LOOPS                |             |       |       |       |<br /> |   2 |   TABLE ACCESS FULL          | AC01        |       |       |       |<br /> |   3 |   TABLE ACCESS BY INDEX ROWID| AB01        |       |       |       |<br /> |   4 |    INDEX UNIQUE SCAN         | PK_AB01     |       |       |       |<br /> ----------------------------------------------------------------------------<br /> <br /> <br /> PLAN_TABLE_OUTPUT<br /> --------------------------------------------------------------------------------<br /> Note: rule based optimization, PLAN_TABLE' is old version<br /> <br /> 灝辮兘鐪嬪埌鎵ц璁″垝浜嗐?br /> <br /> <img src ="http://m.tkk7.com/wphmoon/aggbug/250303.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/wphmoon/" target="_blank">鏈堟寕澶滀腑澶?/a> 2009-01-07 12:00 <a href="http://m.tkk7.com/wphmoon/archive/2009/01/07/250303.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏍規嵁鏉′歡鍔ㄦ佸畾涔夋父鏍?/title><link>http://m.tkk7.com/wphmoon/archive/2008/07/08/213330.html</link><dc:creator>鏈堟寕澶滀腑澶?/dc:creator><author>鏈堟寕澶滀腑澶?/author><pubDate>Tue, 08 Jul 2008 06:46:00 GMT</pubDate><guid>http://m.tkk7.com/wphmoon/archive/2008/07/08/213330.html</guid><wfw:comment>http://m.tkk7.com/wphmoon/comments/213330.html</wfw:comment><comments>http://m.tkk7.com/wphmoon/archive/2008/07/08/213330.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/wphmoon/comments/commentRss/213330.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/wphmoon/services/trackbacks/213330.html</trackback:ping><description><![CDATA[鍦╫racle鐨勫嚱鏁版垨榪囩▼涓紝鏈夋椂鍊欓渶瑕佹牴鎹紶榪涙潵鐨勫弬鏁版垨鑰呭埆鐨勪粈涔堝師鍥犲姩鎬佸畾涔夋父鏍囷紝閭d箞璇ユ庝箞瀹氫箟鍛紝鏂規硶濡備笅錛?br /> 棣栧厛錛屽畾涔夋父鏍囧彉閲忥細<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">type   cur   </span><span style="color: #0000ff">is</span><span style="color: #000000">   ref   </span><span style="color: #0000ff">cursor</span><span style="color: #000000">; <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />cv_name cur;</span></div> 鐒跺悗錛屽姩鎬佸畾涔夋父鏍囷細<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">If</span><span style="color: #000000"> length(v_1)</span><span style="color: #808080">></span><span style="font-weight: bold; color: #800000">0</span><span style="color: #000000"> </span><span style="color: #0000ff">Then</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />      </span><span style="color: #0000ff">Open</span><span style="color: #000000"> cv_name </span><span style="color: #0000ff">For</span><span style="color: #000000"> </span><span style="color: #ff0000">'</span><span style="color: #ff0000">select column1 from table1 where column1 = </span><span style="color: #ff0000">'</span><span style="color: #808080">||</span><span style="color: #000000">v_1;      <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff">Else</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />      </span><span style="color: #0000ff">Open</span><span style="color: #000000"> cv_name </span><span style="color: #0000ff">For</span><span style="color: #000000"> </span><span style="color: #ff0000">'</span><span style="color: #ff0000">select column1 from table1</span><span style="color: #ff0000">'</span><span style="color: #000000">;      <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff">End</span><span style="color: #000000"> </span><span style="color: #0000ff">If</span><span style="color: #000000">;</span></div> 鍚庨潰鐨勫氨鎸夋父鏍囩殑姝e父浣跨敤灝卞ソ浜嗐? <img src ="http://m.tkk7.com/wphmoon/aggbug/213330.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/wphmoon/" target="_blank">鏈堟寕澶滀腑澶?/a> 2008-07-08 14:46 <a href="http://m.tkk7.com/wphmoon/archive/2008/07/08/213330.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬oracle涓殑鍒椾嬌鐢ㄥ埆鍚嶅悗鍦╯ql涓殑鎿嶄綔http://m.tkk7.com/wphmoon/archive/2008/03/20/187428.html鏈堟寕澶滀腑澶?/dc:creator>鏈堟寕澶滀腑澶?/author>Thu, 20 Mar 2008 02:47:00 GMThttp://m.tkk7.com/wphmoon/archive/2008/03/20/187428.htmlhttp://m.tkk7.com/wphmoon/comments/187428.htmlhttp://m.tkk7.com/wphmoon/archive/2008/03/20/187428.html#Feedback1http://m.tkk7.com/wphmoon/comments/commentRss/187428.htmlhttp://m.tkk7.com/wphmoon/services/trackbacks/187428.html     select col1,col2,col1+col2 from table1;
    浣嗗鏋滀嬌鐢ㄤ簡鍒悕錛屾儏鍐靛氨涓嶅悓浜嗭細
    select col1 a,col2 b,a+b from table1;
    浼氭姤浠ヤ笅鐨勯敊璇細
    ORA-00904: "B": invalid identifier
    鎬庝箞瑙e喅鍛紝灝辨槸濂椾竴涓猻elect鍦ㄥ闈細
    select a,b,a+b from (select col1 a,col2 b from table1);
    榪欐牱灝辨病鏈夐棶棰樹簡銆?

]]>
鍏充簬oracle鐨刣bms_output鐨勪袱涓皬闂http://m.tkk7.com/wphmoon/archive/2008/02/19/180627.html鏈堟寕澶滀腑澶?/dc:creator>鏈堟寕澶滀腑澶?/author>Tue, 19 Feb 2008 03:37:00 GMThttp://m.tkk7.com/wphmoon/archive/2008/02/19/180627.htmlhttp://m.tkk7.com/wphmoon/comments/180627.htmlhttp://m.tkk7.com/wphmoon/archive/2008/02/19/180627.html#Feedback1http://m.tkk7.com/wphmoon/comments/commentRss/180627.htmlhttp://m.tkk7.com/wphmoon/services/trackbacks/180627.html 2銆乨bms_output.put_line姣忚鍙兘鏄劇ず255涓瓧絎︼紝瓚呰繃浜嗗氨浼氭姤閿欙紝鎶ラ敊鍐呭濡備笅
      ORA-20000: ORU-10028: line length overflow, limit of 255 chars per line
瑙e喅榪欎釜闂鐨勬柟娉曞涓嬶細

declare 
  v_result 
Varchar2(1000);--榪欐槸闇瑕佹墦鍗板嚭緇撴灉鐨勫瓧絎︿覆
  v_pos Number := 1;--鐢ㄦ潵璁板綍v_result姣忚寮濮嬪瓧絎︾殑浣嶇疆

WHILE v_pos<= LENGTH(v_result) LOOP
          DBMS_OUTPUT.PUT_LINE(SUBSTR(v_result, v_pos, 
200));
          v_pos:
= v_pos+ 200;
      
END LOOP;
榪欐牱灝辮兘鎵撳嵃瓚呰繃255闀垮害鐨勫瓧絎︿覆錛岃秴榪?00闀垮害鐨勮嚜鍔ㄦ崲琛屾墦鍗板嚭鏉?

]]>
主站蜘蛛池模板: 久久久久亚洲国产| 久久久久亚洲av无码尤物| 亚洲一区二区免费视频| 国产成人精品免费久久久久| 国产亚洲人成网站在线观看不卡| 一级特黄色毛片免费看| 亚洲偷自拍拍综合网| 亚欧乱色国产精品免费视频| 黑人大战亚洲人精品一区| 永久免费av无码网站yy| 亚洲资源在线观看| jjizz全部免费看片| 国产成人精品日本亚洲专| 99久久综合国产精品免费| 亚洲国产精品免费观看| 日本成人免费在线| 国产午夜亚洲精品不卡免下载 | 亚洲自偷自偷在线制服| 你是我的城池营垒免费看| 亚洲国产成人精品不卡青青草原| 99精品在线免费观看| 亚洲色成人网站WWW永久四虎| 日本免费的一级v一片| 国产精品玖玖美女张开腿让男人桶爽免费看| 久久亚洲高清综合| 久久99热精品免费观看动漫| 亚洲宅男精品一区在线观看| 国产小视频免费观看| 热99RE久久精品这里都是精品免费| 国产成人精品日本亚洲网站| 丁香花免费高清视频完整版| 色网站在线免费观看| 亚洲视频在线观看免费| 成年男女免费视频网站 | 精选影视免费在线 | 亚洲一级二级三级不卡| 午夜网站免费版在线观看| 一区二区三区免费看| 亚洲区视频在线观看| 久久精品国产亚洲Aⅴ香蕉| 免费看男女下面日出水来|