Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ò»´Îoracle 10g rac¹ÊÕÏ´¦Àí

Ò»´Îoracle 10g rac¹ÊÕÏ´¦Àí:
rhel4-1->crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora.demo.db    application    ONLINE    UNKNOWN   rhel4-2    
ora....o1.inst application    ONLINE    ONLINE    rhel4-1    
ora....o2.inst application    ONLINE    OFFLINE              
ora....SM1.asm application    ONLINE    ONLINE    rhel4-1    
ora....-1.lsnr application    ONLINE    ONLINE    rhel4-1    
ora....4-1.gsd application    ONLINE    ONLINE    rhel4-1    
ora....4-1.ons application    ONLINE    ONLINE    rhel4-1    
ora....4-1.vip application    ONLINE    ONLINE    rhel4-1    
ora....SM2.asm application    ONLINE    UNKNOWN   rhel4-2    
ora....-2.lsnr application    ONLINE    UNKNOWN   rhel4-2    
ora....4-2.gsd application    ONLINE    UNKNOWN   rhel4-2    
ora....4-2.ons application    ONLINE    UNKNOWN   rhel4-2    
ora....4-2.vip application    ONLINE    ONLINE&


Ïà¹ØÎĵµ£º

oracle PL SQLѧϰ°¸Àý£¨Ò»£©

¡¾Ê¾Àý1.1¡¿  ²éѯ¹ÍÔ±±àºÅΪ7788µÄ¹ÍÔ±ÐÕÃûºÍ¹¤×Ê¡£
  ²½Öè1£ºÓÃSCOTT/TIGERÕË»§µÇ¼SQL*Plus¡£
  ²½Öè2£ºÔÚÊäÈëÇøÊäÈëÒÔϳÌÐò£º
   /*ÕâÊÇÒ»¸ö¼òµ¥µÄʾÀý³ÌÐò*/
  SET SERVEROUTPUT ON
  DECLARE--¶¨Ò岿·Ö±êʶ
    v_name  VARCHAR2 ......

oracle PL SQLѧϰ°¸Àý£¨Èý£©

´æ´¢¹ý³Ì
========================================================================== 
========================================================================== 
¡¾ÑµÁ·15.1¡¿  ´´½¨Ò»¸öÏÔʾ¹ÍÔ±×ÜÈËÊýµÄ´æ´¢¹ý³Ì¡£
  ²½Öè1£ºµÇ¼SCOTTÕË»§(»òѧÉú¸öÈËÕË»§)¡£
  ²½Öè2£º ......

Oracle dead lock deep research.

Update SQLS will lead dead lock exception. Because by default, it use optimistic lock but not pessimistic lock.
Below description is exceprted from the attachment(It exceeds my image that this blog can not upload the attachment,hehe)
Optimistic locking offers an elegant solution to the problems o ......

oracleÖжÔÅÅÐòµÄ×ܽá

¡¡¡¡select * from perexl order by nlssort(danwei,'NLS_SORT=SCHINESE_PINYIN_M');
¡¡¡¡-- °´²¿Ê×ÅÅÐò
¡¡¡¡select * from perexl order by nlssort(danwei,'NLS_SORT=SCHINESE_STROKE_M');
¡¡¡¡-- °´±Ê»­ÅÅÐò
¡¡¡¡select * from perexl order by nlssort(danwei,'NLS_SORT=SCHINESE_RADICAL_M');
¡¡¡¡--ÅÅÐòºó»ñÈ¡µÚ ......

oracle´¦Àíʱ¼äµÄ³£Óú¯Êý

36.ADD_MONTHS
¡¡¡¡Ôö¼Ó»ò¼õÈ¥Ô·Ý
¡¡¡¡SQL> select to_char(add_months(to_date(199912,yyyymm),2),yyyymm) from dual;
¡¡¡¡TO_CHA
¡¡¡¡------
¡¡¡¡200002
¡¡¡¡SQL> select to_char(add_months(to_date(199912,yyyymm),-2),yyyymm) from dual;
¡¡¡¡TO_CHA
¡¡¡¡------
¡¡¡¡199910
¡¡¡¡37.LAST_DAY
¡¡¡¡·µ» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ