oracleÀ䱸·Ý »Ö¸´
·½·¨Ò»£º×î¼òµ¥µÄ·½·¨£¨Ð轨¿â£©
±¸·Ý£º
Ö±½Ó¿½±´oracleĿ¼ÏµÄadmin¡¢oradataÁ½¸öÎļþ¼Ð£¬ora92Ŀ¼ÏÂdatabase£¬µ½ÆäËû´æ´¢ÊµÏÖ±¸·Ý¡£
»Ö¸´£º
1.´´½¨Ò»¸öºÍÔÀ´Ò»ÑùµÄÊý¾Ý¿â¡£(°²×°Â·¾¶ºÍÊý¾Ý¿âÃû±ØÐëºÍÔÀ´Ò»ÖÂ)
2.ÓùÜÀíÔ±Á¬ÈëÊý¾Ý¿âºóÍ£Ö¹Êý¾Ý¿â¡£
3.°Ñ°²×°Ä¿Â¼ÏµÄadminºÍoradata¸´ÖƹýÈ¥¸²¸Ç£¨Èç¹û´æÔÚ¶à¸öÊý¾Ý¿â£¬¹À¼ÆÖ»ÐèÒª¸´ÖÆÏÂÃæµÄXJJĿ¼¾ÍÐÐÁË£©¡£
4.¸´ÖÆora92ÏÂÃæµÄdatabaseĿ¼£¨ÃÜÂëÎļþ£©¡£
5.Æô¶¯Êý¾Ý¿â¡£
ÉÏÊö±¸·ÝÁËÊý¾Ý¿âËùÓÐÐÅÏ¢°üÀ¨Êý¾Ý Óû§ ÃÜÂë¡£¡£¡£
Èç¹ûÕë¶Ôij¸öÊý¾Ý¿â Ö±½Ó±¸·ÝoradataϸÃÊý¾Ý¿âÎļþ¼´¿É¡£
·½·¨¶þ£º£¨²»Ð轨¿â£¬ÉÔÂé·³µã£©
À䱸·ÝÊý¾Ý±ØÐëÊÇÊý¾Ý¿â²»ÔÚopen״̬ÏÂ,¶ÔÊý¾Ý¿â½øÓÃÊý¾Ý±¸·Ý¡£ ¾ßÌå²Ù×÷£º
(1)£º ¹Ø±ÕDB £º shutdown immediate£»
(2)£ºcopy oradataĿ¼ÏµÄËùÓÐÎļþ£¬ °üÀ¨Êý¾ÝÎļþ£¬ ¿ØÖÆÎļþ£¬redo£¬µÈ£¬»¹ÐèÒªcopy ÃÜÂëÎļþ ÔÚĿ¼ora92Ï µÄdatabase ÖеÄpwd Îļþ.È«²¿copyµ½Ò»¸ö°²È«Ä¿Â¼ÖС£ÔÚsql Ï¿ÉÒÔÖ±½Ó¼ÓÒ»¸ö host È»ºóʹÓÃdosÃüÁî¡£Èçhost copy .............
(3)£ºÈç¹ûÊDzÙ×÷ϵͳµÄÖØа²×°£¬Ö»ÒªÊÇͬÑùϵͳ£¬Í¬ÑùÊý¾Ý¿â°æ±¾£¬ÊÇ¿ÉÒÔ×öÀ䱸»Ö¸´¡£Ò»ÏÂ̸µÄÊÇϵͳµÄÖØа²×°ºóµÄ²½Öè¡£
(4)£ºÕý³£°²×°oracleÈí¼þ£¨Ö®Ç°ÔÚpubÉÏһλÐÖµÜ˵²»ÐèÒª°²×°oracle¾Í¿ÉÒԸ㶨£¬±íʾ»³ÒÉ£©£¬Ö»ÐèÒª°²×°Èí¼þ£¬¿ÉÒÔ²»Óý¨ÊµÀý£¬½¨ÊµÀýµÄʱ¼äÒ²±È½Ï³¤£¬Ò²Ã»ÓбØÒª¡£ Èí¼þ°²×°ºÃÒԺ󣬿ªÊ¼×¼±¸»Ö¸´¡£
(5)£ºÊý¾Ý¸²¸Ç¹ýÈ¥°üÀ¨pwdÎļþ£¬·ÅÔÚÔÀ´µÄĿ¼£¬Èç¹ûĿ¼ÓÐËù¸Ä±äÔòÐèÒªÁíÍ⽨Á¢¿ØÖÆÎļþ£¬ÐÞ¸Äpfile¡£
(6)£º½¨Á¢·þÎñ£ºÊ¹ÓÃoradim ÃüÁî cmdÏ oradim -new -sid erp ±íʾ½¨Á¢Ò»¸ö·þÎñ£¬sidΪerp¡£¹ØÓÚoradimµÄÃüÁîÁíÍâ¸ø³öרÃŽâÊÍ¡£
(7)£º½¨Á¢¼àÌý£º net configuration assintant À´½¨Á¢£¬»òÓýű¾½¨Á¢²¢ÇÒ¿ªÆô¡£
(8)£º´ò¿ªÊý¾Ý¿â£º ÓÃoemÒ²ÐУ¬cmdÏÂÒ²ÐС£
set oracle_sid=erp;
sqlplus "/as sysdba";
startup;
select * from v$instance;
ÖÁ´Ë£¬À䱸·Ý»Ö¸´³É¹¦¡£¼´Ê¹ÄãÏÖÔÚÓÃoem´ò¿ªÊý¾Ý¿âʱ·¢ÏÖÌáʾÕÒ²»µ½sid £¬µ«Êµ¼ÊÉÏÄãÒѾ³É¹¦ÁË£¬´ËʱֻÐèÒªÖØÆôһϵÄÄãµÄ·þÎñÆ÷¾Í¿ÉÒÔÁË¡£
Ïà¹ØÎĵµ£º
Redhat
as4 + oracle 10g(10.2.0)
+ freeradius1.1.2+ tomcat5.5
*****************************
±¾ÎÄĿ¼
********************************
Ò»¡¢°²×°
redhat as4
¶þ¡¢°²×°
oracle 10g
£¨
10201_database_linux32.zip
£©
£¨Ò»£©¼ì²é
oracle 10g
ËùÐèµÄ°ü×é¼þ£º
£¨¶þ£©ÉèÖÃϵͳ²ÎÊ ......
sql serverºÍoracleÐÐתÁеÄÒ»ÖÖµäÐÍ·½·¨
Ç°ÑÔ£ºÍøÉÏÓв»ÉÙÎÄÕÂÊǽ²ÐÐתÁеģ¬µ«ÊǴ󲿷ֶ¼ÊÇÖ±½ÓÌù´úÂ룬ºöÊÓÁËÖмä¹ý³Ì£¬±¾ÈË×Ô¼ºË¼¿¼ÁËÏÂΪʲôҪÕâÑùʵÏÖ£¬²¢ÇÒ×öÁËÈçϵıʼǣ¬¶ÔÓÐЩ¶®µÄÈËÀ´Ëµ¿ÉÄÜûÓмÛÖµ£¬Ï£Íû¶Ô»¹²»¶®µÄÈËÓÐÒ»µã½è¼øÒâÒå¡£
¶ÔÓÚÓÐЩҵÎñÀ´Ëµ£¬Êý¾ÝÔÚ±íÖеĴ洢ºÍÆä×îÖÕµÄGrid±íÏÖÇ¡ºÃÏ൱ÓÚ°ÑÔ ......
¡¾°¸ÀýÒ»¡¿
ÌâÄ¿£º
--´¥·¢Æ÷£º
--Ìí¼ÓÔ±¹¤ÐÅÏ¢,Á÷Ë®ºÅ×÷Ϊ×Ô¶¯±àºÅ(ͨ¹ýÐòÁÐÉú³É),
--²¢ÇÒÅжÏÈç¹û¹¤×ÊСÓÚ0,Ôò¸ÄΪ0;Èç¹û´óÓÚ10000,Ôò¸ÄΪ10000¡£
CREATE TABLE emp2(
e_id NUMBER,
e_no NUMBER,
e_name VARCHAR2(20),
e_sal NUMBER
)
SELECT * from emp2;
CREATE SEQUENCE seq_trg_id;
INSERT INTO emp2(e_i ......
¼oracleÊý¾Ý¿âʱ³£ÓõIJÙ×÷ÃüÁîÕûÀí
1¡¢su – oracle ²»ÊDZØÐ裬ÊʺÏÓÚûÓÐDBAÃÜÂëʱʹÓ㬿ÉÒÔ²»ÓÃÃÜÂëÀ´½øÈësqlplus½çÃæ¡£
2¡¢sqlplus /nolog »òsqlplus system/manager »ò./sqlplus system/manager@ora9i;
3¡¢SQL>connect / as sysdba ;£¨as sysoper£©»ò
connect internal/oracle AS SYSDBA ;(scott/tiger) ......
¾²âÊÔ£¬ÔÚOracleÖУ¬¶ÔÓÚnullºÍ¿Õ×Ö·û´®'',webMethods JDBC Adapter ²éѯ³öÀ´¶¼»áÏÔʾnull.
¶øÔÚSQL SERVERÖУ¬»á·Ö±ðÏÖʵΪnullºÍ¿Õ×Ö·û´®¡£
º¬Òå½âÊÍ£º
ÎÊ£ºÊ²Ã´ÊÇNULL£¿
´ð£ºÔÚÎÒÃDz»ÖªµÀ¾ßÌåÓÐʲôÊý¾ÝµÄʱºò£¬Ò²¼´Î´Öª£¬¿ÉÒÔÓÃNULL£¬ÎÒÃdzÆËüΪ¿Õ£¬ORACLEÖУ¬º¬ÓпÕÖµµÄ±íÁ㤶ÈΪÁã¡£
ORACLEÔÊÐíÈκÎÒ»ÖÖÊý¾ ......