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

Oracle ¿Í»§¶ËÁ¬½Ó·þÎñÆ÷³£¼ûÎÊÌâÖ®

½ñÌì°²×°Èí¼þÒ»Ö±ÔÚ²âÊÔÁ´½Ó²»ÄÜͨ¹ý£¬³öÏÖORA-12154: TNS: could not resolve service name£¬ºóÀ´²Å·¢ÏÖÊÇtnsnames.oraÖÐÓÐÎó¡£²éÕÒÍøÉϵÄ×ÊÁÏ£¬¼Ç¼ÏÂÀ´¡£
ÒªÅųý¿Í»§¶ËÓë·þÎñÆ÷¶ËµÄÁ¬½ÓÎÊÌ⣬Ê×Ïȼì²é¿Í»§¶ËÅäÖÃÊÇ·ñÕýÈ·(¿Í»§¶ËÅäÖñØÐëÓëÊý¾Ý¿â·þÎñÆ÷¶Ë¼àÌýÅäÖÃÒ»ÖÂ)£¬ÔÙ¸ù¾Ý´íÎóÌáʾ½â¾ö¡£ÏÂÃæÁгö¼¸ÖÖ³£¼ûµÄÁ¬½ÓÎÊÌ⣺
1¡¢ 
ORA-12541: TNS:
ûÓмàÌýÆ÷
ÏÔ¶øÒ×¼û£¬·þÎñÆ÷¶ËµÄ¼àÌýÆ÷ûÓÐÆô¶¯£¬ÁíÍâ¼ì²é¿Í»§¶ËIPµØÖ·»ò¶Ë¿ÚÌîдÊÇ·ñÕýÈ·¡£Æô¶¯¼àÌýÆ÷£º
$ lsnrctl start
»ò
C:\lsnrctl start
2¡¢ 
ORA-12500: TNS:
¼àÌý³ÌÐòÎÞ·¨Æô¶¯×¨Ó÷þÎñÆ÷½ø³Ì
¶ÔÓÚWindows¶øÑÔ£¬Ã»ÓÐÆô¶¯OracleʵÀý·þÎñ¡£Æô¶¯ÊµÀý·þÎñ£º
C:\oradim –startup -sid myoracle
3¡¢ 
ORA-12535: TNS:
²Ù×÷³¬Ê±
³öÏÖÕâ¸öÎÊÌâµÄÔ­ÒòºÜ¶à£¬µ«Ö÷Òª¸úÍøÂçÓйء£½â¾öÕâ¸öÎÊÌ⣬Ê×Ïȼì²é¿Í»§¶ËÓë·þÎñ¶ËµÄÍøÂçÊÇ·ñ³©Í¨£¬Èç¹ûÍøÂçÁ¬Í¨£¬Ôò¼ì²éÁ½¶ËµÄ·À»ðǽÊÇ·ñ×èµ²ÁËÁ¬½Ó¡£
4¡¢ 
ORA-12154: TNS:
ÎÞ·¨´¦Àí·þÎñÃû
¼ì
²éÊäÈëµÄ·þÎñÃûÓëÅäÖõķþÎñÃûÊÇ·ñÒ»Ö¡£ÁíÍâ×¢ÒâÉú³ÉµÄ±¾µØ·þÎñÃûÎļþ(WindowsÏÂÈçD:\oracle\ora92\network\admin
\tnsnames.ora£¬Linux/UnixÏÂ$ORACLE_HOME/network/admin/tnsnames.ora)ÀïÿÏî·þÎñµÄÊ×
ÐзþÎñÃû³ÆÇ°²»ÄÜÓпոñ¡£
5¡¢ 
ORA-12514: TNS:
¼àÌý½ø³Ì²»ÄܽâÎöÔÚÁ¬½ÓÃèÊö·ûÖиø³öµÄ SERVICE_NAME
´ò¿ªNet Manager£¬Ñ¡ÖзþÎñÃû³Æ£¬¼ì²é·þÎñ±êʶÀ¸ÀïµÄ·þÎñÃûÊäÈëÊÇ·ñÕýÈ·¡£¸Ã·þÎñÃû±ØÐëÓë·þÎñÆ÷¶Ë¼àÌýÆ÷ÅäÖõÄÈ«¾ÖÊý¾Ý¿âÃûÒ»Ö¡£
6¡¢ 
Windows
ÏÂÆô¶¯¼àÌý·þÎñÌáʾÕÒ²»µ½Â·¾¶
ÓÃ
ÃüÁî»òÔÚ·þÎñ´°¿ÚÖÐÆô¶¯¼àÌýÌáʾÕÒ²»µ½Â·¾¶£¬»ò¼àÌý·þÎñÆô¶¯Òì³£¡£´ò¿ª×¢²á±í£¬½øÈëHKEY_LOCAL_MACHINE/SYSTEM/Current
ControlSet/Services/OracleOraHome92TNSListenerÏ²é¿´ImagePath×Ö·û´®ÏîÊÇ·ñ´æÔÚ£¬Èç¹ûû
ÓУ¬É趨ֵΪD:\oracle\ora92\BIN\TNSLSNR£¬²»Í¬µÄ°²×°Â·¾¶É趨ֵ×öÏàÓ¦µÄ¸ü¸Ä¡£ÕâÖÖ·½·¨Í¬ÑùÊÊÓÃÓÚOracleʵÀý·þÎñ£¬Í¬
ÉÏ£¬ÕÒµ½ÈçͬHKEY_LOCAL_MACHINE/SYSTEM/Current ControlSet/Services/Oracle
ServiceMYORACLEÏ²é¿´ImagePath×Ö·û´®ÏîÊÇ·ñ´æÔÚ£¬Èç¹ûûÓУ¬Ôòн¨£¬É趨ֵΪd:\oracle\ora92
\binORACLE.EXE MYORACLE¡£
ÒÔÉÏÊÇOracle¿Í»§¶ËÁ¬½Ó·þÎñÆ÷¶Ë³£¼ûµÄһЩÎÊÌ⣬µ±È»²»ÄÜÄÒÀ¨ËùÓеÄÁ¬½ÓÒì³£¡£½â¾öÎÊÌâµÄ¹Ø¼üÔÚÓÚ·½·¨Óë˼·£¬¶ø²»ÊÇÿÖÖÎÊÌⶼÓй̶¨µÄ´ð°¸¡£


Ïà¹ØÎĵµ£º

SQL ServerºÍOracleµÄ³£Óú¯Êý¶Ô±È

---------Êýѧº¯Êý
1.¾ø¶ÔÖµ
S:select abs(-1) value
O:select abs(-1) value from dual
2.È¡Õû(´ó)
S:select ceiling(-1.001) value
O:select ceil(-1.001) value from dual
3.È¡Õû£¨Ð¡£©
S:select floor(-1.001) value
O:select floor(-1.001) value from dual
4.È¡Õû£¨½ØÈ¡£©
S:select cast(-1.002 as int) v ......

oracle SQLÐÔÄÜÓÅ»¯

£¨1£©      Ñ¡Ôñ×îÓÐЧÂʵıíÃû˳Ðò(Ö»ÔÚ»ùÓÚ¹æÔòµÄÓÅ»¯Æ÷ÖÐÓÐЧ)£º
ORACLEµÄ½âÎöÆ÷°´ÕÕ´ÓÓÒµ½×óµÄ˳Ðò´¦Àífrom×Ó¾äÖеıíÃû£¬from×Ó¾äÖÐдÔÚ×îºóµÄ±í(»ù´¡±í driving table)½«±»×îÏÈ´¦Àí£¬ÔÚfrom×Ó¾äÖаüº¬¶à¸ö±íµÄÇé¿öÏÂ,Äã±ØÐëÑ¡Ôñ¼Ç¼ÌõÊý×îÉٵıí×÷Ϊ»ù´¡±í¡£Èç¹ûÓÐ3¸öÒÔÉϵıíÁ¬½Ó²éѯ, ÄÇ ......

[·ÖÏí]OracleÊý¾Ýµ¼Èëµ¼³öimp/expÃüÁî

OracleÊý¾Ýµ¼Èëµ¼³öimp/expÃüÁî
    Oracle Êý¾Ýµ¼Èëµ¼³öimp/exp¾ÍÏ൱ÓÚoracleÊý¾Ý»¹Ô­Ó뱸·Ý¡£expÃüÁî¿ÉÒÔ°ÑÊý¾Ý´ÓÔ¶³ÌÊý¾Ý¿â·þÎñÆ÷µ¼³öµ½±¾µØµÄdmpÎļþ£¬impÃüÁî¿ÉÒÔ°Ñ dmpÎļþ´Ó±¾µØµ¼Èëµ½Ô¶´¦µÄÊý¾Ý¿â·þÎñÆ÷ÖС£ ÀûÓÃÕâ¸ö¹¦ÄÜ¿ÉÒÔ¹¹½¨Á½¸öÏàͬµÄÊý¾Ý¿â£¬Ò»¸öÓÃÀ´²âÊÔ£¬Ò»¸öÓÃÀ´ÕýʽʹÓá£
Ö´Ðл ......

Oracle ¾Û¼¯

¾Û¼¯(cluster)ÊÇ´æ´¢±íÊý¾ÝµÄ¿ÉÑ¡ÔñµÄ·½·¨¡£Ò»¸ö¾Û¼¯ÊÇÒ»×é±í£¬½«¾ßÓÐͬһ¹«¹²ÁÐÖµµÄÐд洢ÔÚÒ»Æ𣬲¢ÇÒËüÃǾ­³£Ò»ÆðʹÓá£ÕâЩ¹«¹²Áй¹³É¾Û¼¯Âë¡£
¾­³£±»Í¬Ê±·ÃÎʵıíÔÚÎïÀíλÖÃÉÏ¿ÉÒÔ´æ´¢ÔÚÒ»Æð¡£ÎªÁ˽«ËüÃÇ´æ´¢ÔÚÒ»Æ𣬾ÍÒª´´½¨Ò»¸ö´Ø( c l u s t e r )À´¹ÜÀíÕâЩ±í¡£±íÖеÄÊý¾ÝÒ»Æð´æ´¢ÔÚ´ØÖУ¬´Ó¶ø×îС»¯±ØÐëÖ´ÐеÄI ......

ORACLEѧϰÖгöÏÖµÄÎÊÌ⣨³ÖÐø¸üÐÂÖУ©

ORACLEѧϰÖгöÏÖµÄÎÊÌ⣨³ÖÐø¸üÐÂÖУ©
1¡¢ ORA:12545 ÒòÄ¿±êÖ÷»ú»ò¶ÔÏó²»´æÔÚ£¬Á¬½Óʧ°Ü
   
ÍøÉϲο¼µÄ½â¾ö°ì·¨
1.ËÑË÷ÄãµÄoracle°²×°Ä¿Â¼£¬ÕÒµ½ÕâÁ©¸öÎļþ tnsnames.ora ºÍ listener.ora ¼Çס¾Í¸ÄÕâÁ©¸öÎļþ¾ÍÐÐÁË£¬»¹ÓÐÒ»¸ö´óдµÄTNSNAMES.ORA²»ÓùÜËü¡£ËûÃǵÄ·¾¶ÈçÏ£ºÈç E:\oracle\ora92\n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ