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

oracle¸´Ï°£¨¶þ£© Ö®OracleʵÀýµÄ¹ÜÀí

      ½ñÌ츴ϰµÚÈýÕ£¬±¾À´ËãÆðÀ´Ó¦¸ÃÊǵڶþÕµģ¬µ«ÊǵڶþÕµÄÄÚÈÝÊǽéÉÜÊý¾Ý¿âµÄ¹ÜÀí¹¤¾ß£¬¶ø¶ÔÓÚÎÒÃǶøÑÔ£¬ÕâЩÏà¶ÔÀ´ËµÃ»Óжà´óµÄ±ØÒª£¬ËùÒÔ£¬ÏÖÔÚ²½È븴ϰOracleʵÀýµÄ¹ÜÀí¡£ÕâÕµÄÄÚÈÝ°üÀ¨³õʼ»¯²ÎÊýÎļþµÄά»¤ºÍ¹ÜÀí£¬ÒÔ¸÷ÖÖ²»Í¬µÄ·½Ê½Æô¶¯ºÍ¸ÅÄî±ÈÊý¾Ý¿âOracle Instance£¬ÒÔ¼°¶ÔOracle InstanceËù³öÏÖÎÊÌâ½øÐÐÕï¶ÏºÍά»¤¡£
Ò»¡¢²ÎÊýÎļþ
      Ê×ÏÈÀ´¿´³õʼ»¯²ÎÊýÎļþ£¨initialization parameter files£©£ºÖ÷ÒªÓо²Ì¬²ÎÊýÎļþ£¨PFILE£©Ó붯̬²ÎÊýÎļþ£¨SPFILE£©Ö®·Ö£¬PFILEÊÇÕýÎÄÎļþ£¬¶þSPFILEÊǶþ½øÖÆÎļþ¡£
1¡¢¾²Ì¬²ÎÊýÎļþ£¨PFILE£©
ÕâÊÇÎÒ°²×°ÔÚ×Ô¼º»ú×ÓÉϵijõʼ»¯²ÎÊýÎļþ£¬ÄÇôÓÖÈçºÎÀ´´´½¨¾²Ì¬²ÎÊýÎļþÄØ£¿
      ¿ÉÒÔÀûÓø´ÖÆÃüÁî²úÉúËùÐèµÄ²ÎÊýÎļþ£¬µ«ÎļþÃûÒªº¬ÓÐÊý¾Ý¿âÃû×÷Ϊ±êʶ£º
      copy intiorcl.ora $ORACLE_HOME\database\init???.ora
      Ò²¿ÉÒÔ´Ó¶¯Ì¬ÎļþÖд´½¨£º
      create PFILE [='PFILEÃû'] from SPFILE
2¡¢¶¯Ì¬·þÎñÆ÷²ÎÊýÎļþ£¨SPFILE£©
      ¶¯Ì¬²ÎÊýÎļþ¸ÃÈçºÎ´´½¨ÄØ£¿
      create SPFILE [='SPFILEÃû'] from PFILE [='PFILEÃû']
¶þ¡¢Æô¶¯Êý¾Ý¿â
      Êý¾Ý¿âÆô¶¯ÓÐÈýÖÖ״̬£ºNOMOUNT¡¢MOUNT¡¢OPEN£¬ÏÂÃæÊÇËüµÄÒ»¸öÆô¶¯×´Ì¬Í¼£º
 
      ÄÇÊý¾ÝÖ®¼äµÄ״̬ÓÖÊÇÈçºÎ×°»»µÄÄØ£¿
      alter database nomount;
      alter database mount;
      alter database open;
      µ±È»£¬»¹¿ÉÒÔ½«Êý¾Ý¿âת»»³ÉÖ»¶Á״̬ºÍ¶Áд״̬
      alter database read only;
      alter database read write;
Èý¡¢¹Ø±ÕÊý¾Ý¿â
      ½ÓϾÍÊǹرÕÊý¾Ý¿âÁË£¬ÆäÖУ¬¹Ø±ÕÊý¾Ý¿âÓÐËÄÖÖ·½·¨£ºabort¡¢immediate¡¢transactional¡¢normalshutdown
      ÆäÖеÄһЩÇé¿öÈçÏ£º
ºÙºÙ£¬ÕâÀïÆäʵÂù¼òµ¥£¬Ö»ÊÇÄØ£¬ÔÚת»»Ö»¶ÁÓë¶ÁдÖлáÓöµ½Ò»Ð©ÎÊÌ⣬ÏÂһƪ¾Í˵Ã÷Õâ¸öÎÊÌâ¡£ºÙºÙ


Ïà¹ØÎĵµ£º

javaµ÷ÓÃoracle´æ´¢¹ý³Ì

//¿´¿´ÈçºÎ±àдһЩ¸´ÔӵĴ洢¹ý³Ì
Ò»£ºÎÞ·µ»ØÖµµÄ´æ´¢¹ý³Ì
ΪÁËÑéÖ¤£¬ÎÒÏÈ´´½¨Ò»ÕŲâÊÔ±í
create table mytest(myid varchar2(30),myname varchar2(50));
´æ´¢¹ý³ÌΪ£º
create or replace PROCEDURE mytest2(id in varchar2,name in varchar2)  as
begin
   insert into mytest (myid,myname) valu ......

ORACLE µÝ¹éɾ³ýÊý¾Ý

Êý¾Ý¿âÉè¼Æ£º
CREATE  TABLE  ADVERTISE_CATEGORY
(
       CATEGORY_ID       NUMBER PRIMARY KEY,  --½ÚµãID 
       CATEGORY_NAME     VARCHAR2(500),   &nb ......

ÐÞ¸ÄOracle XDBµÄ8080¶Ë¿Ú

´ÓOracle 9i¿ªÊ¼£¬OracleµÄ°²×°È±Ê¡°üº¬ÁËXDB¡£ÔÚÆô¶¯Êý¾Ý¿âºó£¬Oracle XDBµÄhttp·þÎñ½«»á×Ô¶¯Õ¼ÓÃÁË8080¶Ë¿Ú£¬Õâ¸øʹÓûòJBoss¡¢Tomcat½øÐÐjava web¿ª·¢µÄÈËÔì³ÉÁËÐí¶à²»±ØÒªµÄÂé·³¡£
±¾ÎĽ«Ö÷Òª½éÉÜÐÞ¸ÄXDBµÄhttpºÍftp·þÎñ¶Ë¿ÚµÄ3ÖÖ·½·¨¡£
1.ʹÓÃdbms_xdb°üÐ޸Ķ˿ÚÉèÖÃ
ʹÓÃsysµÇ¼sqlplus
sqlplus sys/password ......

Oracle ×Ö·û¼¯µÄ²é¿´ºÍÐÞ¸Ä

 
Ò»¡¢Ê²Ã´ÊÇOracle×Ö·û¼¯
       Oracle×Ö·û¼¯ÊÇÒ»¸ö×Ö½ÚÊý¾ÝµÄ½âÊ͵ķûºÅ¼¯ºÏ,ÓдóС֮·Ö,ÓÐÏ໥µÄ°üÈݹØϵ¡£ORACLE Ö§³Ö¹ú¼ÒÓïÑÔµÄÌåϵ½á¹¹ÔÊÐíÄãʹÓñ¾µØ»¯ÓïÑÔÀ´´æ´¢£¬´¦Àí£¬¼ìË÷Êý¾Ý¡£ËüʹÊý¾Ý¿â¹¤¾ß£¬´íÎóÏûÏ¢£¬ÅÅÐò´ÎÐò£¬ÈÕÆÚ£¬Ê±¼ä£¬»õ±Ò£¬Êý×Ö£¬ºÍÈÕÀú×Ô¶¯ÊÊÓ¦±¾µØ»¯ÓïÑÔº ......

oracleÓÅ»¯

ÎÒÃÇÒª×öµ½²»µ«»áдSQL,»¹Òª×öµ½Ð´³öÐÔÄÜÓÅÁ¼µÄSQL,ÒÔÏÂΪ±ÊÕßѧϰ¡¢ÕªÂ¼¡¢²¢»ã×ܲ¿·Ö×ÊÁÏÓë´ó¼Ò·ÖÏí£¡
£¨1£©Ñ¡Ôñ×îÓÐЧÂʵıíÃû˳Ðò(Ö»ÔÚ»ùÓÚ¹æÔòµÄÓÅ»¯Æ÷ÖÐÓÐЧ)£º
orACLEµÄ½âÎöÆ÷°´ÕÕ´ÓÓÒµ½×óµÄ˳Ðò´¦Àífrom×Ó¾äÖеıíÃû£¬from×Ó¾äÖÐдÔÚ×îºóµÄ±í(»ù´¡±í driving table)½«±»×îÏÈ´¦Àí£¬ÔÚfrom×Ó¾äÖаüº¬¶à¸ö±íµÄÇé¿öÏÂ, ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ