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

oracle´æ´¢¹ý³ÌʵÀý

ÈÏʶ´æ´¢¹ý³ÌºÍº¯Êý
´æ´¢¹ý³ÌºÍº¯ÊýÒ²ÊÇÒ»ÖÖPL/SQL¿é£¬ÊÇ´æÈëÊý¾Ý¿âµÄPL/SQL¿é¡£µ«´æ´¢¹ý³ÌºÍº¯Êý²»Í¬ÓÚÒѾ­½éÉܹýµÄPL/SQL³ÌÐò£¬ÎÒÃÇͨ³£°ÑPL/SQL³ÌÐò³ÆΪÎÞÃû¿é£¬¶ø´æ´¢¹ý³ÌºÍº¯ÊýÊÇÒÔÃüÃûµÄ·½Ê½´æ´¢ÓÚÊý¾Ý¿âÖеġ£ºÍPL/SQL³ÌÐòÏà±È£¬´æ´¢¹ý³ÌÓкܶàÓŵ㣬¾ßÌå¹éÄÉÈçÏ£º
* ´æ´¢¹ý³ÌºÍº¯ÊýÒÔÃüÃûµÄÊý¾Ý¿â¶ÔÏóÐÎʽ´æ´¢ÓÚÊý¾Ý¿âµ±ÖС£´æ´¢ÔÚÊý¾Ý¿âÖеÄÓŵãÊǺÜÃ÷ÏԵģ¬ÒòΪ´úÂë²»±£´æÔÚ±¾µØ£¬Óû§¿ÉÒÔÔÚÈκοͻ§»úÉϵǼµ½Êý¾Ý¿â£¬²¢µ÷ÓûòÐ޸ĴúÂë¡£
* ´æ´¢¹ý³ÌºÍº¯Êý¿ÉÓÉÊý¾Ý¿âÌṩ°²È«±£Ö¤£¬ÒªÏëʹÓô洢¹ý³ÌºÍº¯Êý£¬ÐèÒªÓд洢¹ý³ÌºÍº¯ÊýµÄËùÓÐÕßµÄÊÚȨ£¬Ö»Óб»ÊÚȨµÄÓû§»ò´´½¨Õß±¾Éí²ÅÄÜÖ´Ðд洢¹ý³Ì»òµ÷Óú¯Êý¡£
* ´æ´¢¹ý³ÌºÍº¯ÊýµÄÐÅÏ¢ÊÇдÈëÊý¾Ý×ÖµäµÄ£¬ËùÒÔ´æ´¢¹ý³Ì¿ÉÒÔ¿´×÷ÊÇÒ»¸ö¹«ÓÃÄ£¿é£¬Óû§±àдµÄPL/SQL³ÌÐò»òÆäËû´æ´¢¹ý³Ì¶¼¿ÉÒÔµ÷ÓÃËü(µ«´æ´¢¹ý³ÌºÍº¯Êý²»Äܵ÷ÓÃPL/SQL³ÌÐò)¡£Ò»¸öÖظ´Ê¹ÓõŦÄÜ£¬¿ÉÒÔÉè¼Æ³ÉΪ´æ´¢¹ý³Ì£¬±ÈÈ磺ÏÔʾһÕŹ¤×Êͳ¼Æ±í£¬¿ÉÒÔÉè¼Æ³ÉΪ´æ´¢¹ý³Ì£»Ò»¸ö¾­³£µ÷ÓõļÆË㣬¿ÉÒÔÉè¼Æ³ÉΪ´æ´¢º¯Êý£»¸ù¾Ý¹ÍÔ±±àºÅ·µ»Ø¹ÍÔ±µÄÐÕÃû£¬¿ÉÒÔÉè¼Æ³É´æ´¢º¯Êý¡£
* ÏñÆäËû¸ß¼¶ÓïÑԵĹý³ÌºÍº¯ÊýÒ»Ñù£¬¿ÉÒÔ´«µÝ²ÎÊý¸ø´æ´¢¹ý³Ì»òº¯Êý£¬²ÎÊýµÄ´«µÝÒ²ÓжàÖÖ·½Ê½¡£´æ´¢¹ý³Ì¿ÉÒÔÓзµ»ØÖµ£¬Ò²¿ÉÒÔûÓзµ»ØÖµ£¬´æ´¢¹ý³ÌµÄ·µ»ØÖµ±ØÐëͨ¹ý²ÎÊý´ø»Ø£»º¯ÊýÓÐÒ»¶¨µÄÊý¾ÝÀàÐÍ£¬ÏñÆäËûµÄ±ê×¼º¯ÊýÒ»Ñù£¬ÎÒÃÇ¿ÉÒÔͨ¹ý¶Ôº¯ÊýÃûµÄµ÷Ó÷µ»Øº¯ÊýÖµ¡£
   ´æ´¢¹ý³ÌºÍº¯ÊýÐèÒª½øÐбàÒ룬ÒÔÅųýÓï·¨´íÎó£¬Ö»ÓбàÒëͨ¹ý²ÅÄܵ÷Óá£
´´½¨ºÍɾ³ý´æ´¢¹ý³Ì
´´½¨´æ´¢¹ý³Ì£¬ÐèÒªÓÐCREATE PROCEDURE»òCREATE ANY PROCEDUREµÄϵͳȨÏÞ¡£¸ÃȨÏÞ¿ÉÓÉϵͳ¹ÜÀíÔ±ÊÚÓè¡£´´½¨Ò»¸ö´æ´¢¹ý³ÌµÄ»ù±¾Óï¾äÈçÏ£º
CREATE [OR REPLACE] PROCEDURE ´æ´¢¹ý³ÌÃû[(²ÎÊý[IN|OUT|IN OUT] Êý¾ÝÀàÐÍ...)]
{AS|IS}
[˵Ã÷²¿·Ö]
BEGIN
¿ÉÖ´Ðв¿·Ö
[EXCEPTION
´íÎó´¦Àí²¿·Ö]
END [¹ý³ÌÃû];
ÆäÖУº
¿ÉÑ¡¹Ø¼ü×ÖOR REPLACE ±íʾÈç¹û´æ´¢¹ý³ÌÒѾ­´æÔÚ£¬ÔòÓÃеĴ洢¹ý³Ì¸²¸Ç£¬Í¨³£ÓÃÓÚ´æ´¢¹ý³ÌµÄÖؽ¨¡£
²ÎÊý²¿·ÖÓÃÓÚ¶¨Òå¶à¸ö²ÎÊý(Èç¹ûûÓвÎÊý£¬¾Í¿ÉÒÔÊ¡ÂÔ)¡£²ÎÊýÓÐÈýÖÖÐÎʽ£ºIN¡¢OUTºÍIN OUT¡£Èç¹ûûÓÐÖ¸Ã÷²ÎÊýµÄÐÎʽ£¬ÔòĬÈÏΪIN¡£
¹Ø¼ü×ÖASÒ²¿ÉÒÔд³ÉIS£¬ºó¸ú¹ý³ÌµÄ˵Ã÷²¿·Ö£¬¿ÉÒÔÔڴ˶¨Òå¹ý³ÌµÄ¾Ö²¿±äÁ¿¡£
±àд´æ´¢¹ý³Ì¿ÉÒÔʹÓÃÈκÎÎı¾±à¼­Æ÷»òÖ±½ÓÔÚSQL*Plus»·¾³Ï½øÐУ¬±àдºÃµÄ´æ´¢¹ý³Ì±ØÐëÒªÔÚSQL*Plus»·¾³Ï½øÐбàÒ룬Éú³É±àÒë´úÂë£


Ïà¹ØÎĵµ£º

Ïê½âOracleÓû§½âËøÃüÁîµÄÁ½ÔòʵÏÖ·½·¨

ÔÚ°²×°ÍêOracle
10gÖ®ºó£¬Ïë´ò¿ªsql*plusÀ´Ñ§Ï°£¬È»ºó°´ÕÕÊéÉϵIJ½ÖèÓÃscottÓû§À´Á¬½ÓÊý¾Ý¿â£¬¿ÉÊäÁ˺ü¸´Î¶¼Ìáʾһ¸ö´íÎó¡£
error£º the account is locked
È»ºóÉÏÍø²éÁËÒ»ÏÂÖ®ºó·¢ÏÖÕâ¸öÓû§±»Ëø¶¨ÁË£¬ÖÁÓÚËüΪʲô±»Ëø¶¨£¬¿ÉÄÜÊÇÏÂÃ漸¸öÔ­Òò¡£
1.³¢ÊÔ¶à´ÎµÇ¼δ³É¹¦.(¿ÉÄÜÃÜÂë²»ÕýÈ·)
2.´ËÓû§±»¹ÜÀíÔ±ÊÖ¹¤Ëø¶¨ ......

Oracleµ¼Èëµ¼³öÊý¾Ý¿â

µ¼³öÊý¾Ý¿â£ºexp Óû§Ãû/ÃÜÂë@Êý¾Ý¿âÃû file=ÅÌ·û£º/Îļþ¼Ð/ÎļþÃû.bmp owner=Óû§ »ò exp Óû§Ãû/ÃÜÂë@Êý¾Ý¿âÃû file=ÅÌ·û£º/Îļþ¼Ð/ÎļþÃû.bmp full=y
µ¼ÈëÊý¾Ý¿â£ºimp Óû§Ãû/ÃÜÂë@Êý¾Ý¿âÃû file=µ¼³öµÄÎļþ full=y ......

PHP ÖÐʹÓÃoracle »·¾³ÅäÖÃ

http://www.oracle.com/technology/global/cn/pub/notes/technote_php_instant.html
Ϊ Linux ºÍ Windows °²×° PHP ºÍ Oracle 10g Instant Client
×÷ÕߣºChristopher Jones£¬¼×¹ÇÎĹ«Ë¾µÄ×Éѯ¼¼ÊõÈËÔ±
·¢²¼ÈÕÆÚ£º2004 Äê 12 ÔÂ
Oracle 10g Instant Client£¨Ãâ·ÑÏÂÔØ£©ÊÇPHP ÓëÔ¶³Ì Oracle Êý¾Ý¿âÁ¬½ÓµÄ×î¼òµ¥·½Ê½£¬Ëü ......

oracle 11g ORA 12514´íÎó£¬ÎҵĽâ¾ö°ì·¨

Ç°ÑÔ:ÍøÉÏÓкܶà½â¾ö°ì·¨£¬É¾listener.oraÒ²ºÃ£¬»¹ÊÇʲôҲºÃ£¬¶¼½â¾ö²»ÁËÎÒÕâ¸öÎÊÌ⣬ÒÀÈ»±¨12514´íÎó£¬ÒÔÏÂÊÇÎÒÖð¸ö³¢ÊÔºó³É¹¦µÄ¼àÌý×Ö·û´®¡£¡£
listener.oraÎļþ£º
# listener.ora Network Configuration File: d:\app\john\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration too ......

ORACLEÌåϵ½á¹¹ ÄÚ´æ½á¹¹

ORACLEÊý¾Ý¿âÆô¶¯Ê±·ÖÅäÒ»´ó¿é·Ç³£´óµÄÄÚ´æÇøÓò¡£ORACLEÔËÐйý³ÌÖÐËùÓеIJÙ×÷¶¼ÔÚÕâÀï½øÐС£
ORACLEÄÚ´æ=SGA+PGA¡£
SGA=Êý¾Ý¸ßËÙ»º³åÇø+ÈÕÖ¾»º³åÇø+¹²Ïí³Ø+´ó³Ø+Java³Ø¡£
Êý¾Ý¸ßËÙ»º³åÇø£ºÊý¾Ý¸ßËÙ»º³åÇøÊÇ×î½ü´ÓÊý¾ÝÎļþÖмìË÷³öÀ´µÄÊý¾Ý£¬»º´æÆðÀ´¹©ËùÓÐÓû§¹²Ïí¡£
ÈÕÖ¾»º³åÇø£º»º´æÓû§¶ÔÊý¾Ý¿âÖ´Ðеĸ÷Àà²Ù×÷µÄÖØ×ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ