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

½â¾öOracle 9iºÍTomcat¶Ë¿Ú³åÍ»

·½°¸Ò»£º
ÐÂ×°ÁËϵͳºó£¬·¢ÏÖÔÚµ÷ÊÔ³ÌÐòʱTOMCATÌáʾ8080¶Ë¿ÚÒѱ»Õ¼Óã¬ÓÚÊÇÔËÐÐNETSTAT -ANO²é¿´¶Ë¿ÚʹÓÃÇé¿ö£¬·¢ÏÖ8080¶Ë¿Ú±»ORACLEµÄ¼àÌýÆ÷¸øÕ¼ÓÃÁË£¬ÓÚÊǽáºÏÉÏÍø²éµ½·½·¨£¬½«ORACLE XDBµÄHTTP·þÎñ¶Ë¿Ú¸Ä³É8081£¬ÎÊÌâ½â¾ö¡£
×ܽáһϿɽâ¾öµÄ·½·¨£º
Ò»¡¢¸ü¸ÄTOMCATµÄĬÈ϶˿Ú
Ïà¹ØÎļþ£º"TOMCAT ROOT"\conf\server.xml
¶þ¡¢Ê¹ÓÃsysµÇ¼Oracle£¬ÀûÓÃdbms_xdbÐ޸Ķ˿ÚÉèÖÃ
SQL> call dbms_xdb.cfg_update(updateXML(
2 dbms_xdb.cfg_get()
3 , '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()'
4 , 8081))
5 /
ÔËÐÐÍêºóÌáʾ£ºCall completed.
½Ó×Å
SQL> COMMIT;
Ìáʾ£ºCommit complete.
SQL> EXEC dbms_xdb.cfg_refresh;
Ìáʾ£ºPL/SQL procedure successfully completed.
Èý¡¢Ê¹ÓÃEnterprise Manager Console£¬Ñ¡ÔñÊý¾Ý¿â——XML Êý¾Ý¿â——ÅäÖ㬸ü¸Ähttp-portµÄĬÈÏֵΪ8081¡£
·½°¸¶þ£º
°²×°OracleÊý¾Ý¿âºó£¬µ±ÎÒÃÇ·ÃÎÊ8080¶Ë¿Úʱ£¬»áµ¯³öÒ»¸öXDB´°¿Ú£¬ÒªÇóÊäÈëÓû§ÃûºÍÃÜÂë¡£ÕâÑù½«ºÍÎÒÃDZ¾µØһЩʹÓøö˿ڵÄÓ¦ÓóåÍ»£¬±ÈÈçtomcat¡¢jbossµÈ£¬ËäÈ»ÕâЩ¶Ë¿ÚÊÇ¿ÉÒÔÐ޸ĵģ¬µ«×ÜÊDz»Ë¬oracleÒ»Ö±Õ¼ÓÃÕâ¸ö¶Ë¿Ú¡£
OracleÊý¾Ý¿â¿ÉÒÔʹÓÃTCPЭÒéͨ¹ý8080¶Ë¿Ú½øÐÐÁ¬½Ó£¬ËùÒÔÕ¼ÓÃÁË8080¶Ë¿Ú¡£
ҪȡÏûÕ¼Ó㬿ÉÒÔ´ò¿ªOracle°²×°Ä¿Â¼ÏµÄdatabaseĿ¼ÄÚµÄSPFILE[SIDÃû].ORAÎļþ½øÐÐÐ޸ġ£Õâ¸öÎļþÊÇOracleµÄÆô¶¯ÅäÖÃÎļþ¡£
°ÑÆäÖеÄ*.dispatchers='(PROTOCOL=TCP) (SERVICE=or9iXDB)'ÕâÒ»ÐÐÈ¥µô¼´¿É¡£
È»ºóÖØÆô¼ÆËã»ú£¬»òÕßÔÚ·þÎñÖÐÖØÆôOracleService[SIDÃû]Õâ¸ö·þÎñ¡£ÖØÆôºó¿ÉÄÜÎÞ·¨Ê¹ÓÃEnterprise Manager ConsoleºÍÆäËû¿Í»§¶ËÁ¬½Ó£¬ÕâʱÇëʹÓÃOracleµÄConfiguration and Migration Tools/Net Configuration Assistant¹¤¾ßɾ³ý¼àÌýÆ÷£¬È»ºóн¨Ò»¸ö¼àÌýÆ÷£¬ÖØÆô¼àÌýÆ÷¡£
ʹÓÃConfiguration and Migration Tools/Net Manager¹¤¾ß£¬½«·þÎñÃüÃûɾ³ý£¬È»ºóн¨Ò»¸ö¡£
ÏÖÔÚOracleÓ¦¸Ã¾Í¿ÉÒÔÕý³£Ê¹Óã¬8080Ò²²»»áÕ¼ÓÃÁË¡£
²¹³ä£º
ÆäʵÕâÓë·þÎñµÄÆô¶¯Ë³ÐòÓйأ¬¿ÉÒÔÏÈ°Ñoracle¼àÌýÆ÷·þÎñÉèΪÊÖ¶¯£¬tomcatÉèΪ×Ô¶¯£¬ÖØÆôµçÄÔ£¬²âÊÔhttp://localhost:8080,Õâʱ¿ÉÒÔ¿´µ½´óèÁË£¬¹þ¹þ...È»ºóÔÙ°Ñoracle¼àÌýÆ÷Æô¶¯£¬¾Í²»»á³åÍ»ÁË¡£


Ïà¹ØÎĵµ£º

ʹÓÃimp/exp½øÐÐORACLEÊý¾Ý¿â±¸·ÝÓë»Ö¸´

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

oracle sql±ÊÊÔÌâ

Ò»¡¢ Êý¾Ý¿â ORACLE
ËäÈ»ÕâЩÌâÄ¿¶¼¿ÉÒÔGµ½£¬µ«»¹ÊÇÒª¿¼²ìÒ»ÏÂÄúÏÖÔڵij£Ì¬Ë®Æ½£¬£º£©
T±í£º£¨×ֶΣºID£¬NAME£¬ADDRESS£¬PHONE£¬LOGDATE£©
E±í£º£¨×ֶΣºNAME£¬ADDRESS£¬PHONE£©
1£® ½«±íTÖеÄ×Ö¶ÎLOGDATEÖÐΪ2001-02-11µÄÊý¾Ý¸üÐÂΪ2003-01-01£¬Çëд³öÏàÓ¦µÄSQLÓï¾ä¡££¨¸Ã×Ö¶ÎÀàÐÍΪÈÕÆÚÀàÐÍ£©
2£® Çëд³ö½«±íTÖÐNAME ......

ORACLEÓÅ»¯ Ö´Ðмƻ®


<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 ......

oracleÈÕÆÚ´¦ÀíÍêÈ«°æ(תÔØ)

TO_DATE¸ñʽ
Day:
dd number 12
dy abbreviated fri
day spelled out friday
ddspth spelled out, ordinal twelfth
Month:
mm number 03
mon abbreviated mar
month spelled out march
Year:
yy two digits 98
yyyy four digits 1998
24Сʱ¸ñʽÏÂʱ¼ä·¶Î§Îª£º 0:00:00 - 23:59:59....
12Сʱ¸ ......

oracle lockmode

ORACLEÀïËøÓÐÒÔϼ¸ÖÖģʽ:
0£ºnone
1£ºnull ¿Õ
e.g. 1¼¶ËøÓУºSelect£¬ÓÐʱ»áÔÚv$locked_object³öÏÖ¡£
2£ºRow-S Ðй²Ïí(RS)£º¹²Ïí±íËø£¬sub share 
     e.g. 2¼¶ËøÓУºSelect for update,Lock For Update,Lock Row Share 
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ