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

ORACLE 10G for RHEL AS 4 °²×°(ÍêÕû°æ)

ORACLE 10G for RHEL AS 4 °²×°
ÑéÖ¤°²×°:¼ì²éORACLEËùÐèµÄ³ÌÐòÊÇ·ñ°²×°¾ùÒÑ°²×°(»ò¸ü¸ß°æ±¾)
compat-db-4.1.25-9.i386.rpm
compat-gcc-32-3.2.3-47.3.i386.rpm
compat-gcc-32-c++-3.2.3-47.3.i386.rpm
compat-libstdc++-33-3.2.3-47.3.i386.rpm
compat-oracle-rhel4-1.0-5.i386.rpm
gcc-3.4.3-9.EL4.i386.rpm
glibc-2.3.4-2.i386.rpm
libaio-0.3.102-1.i386.rpm
make-3.80-5.i386.rpm
openmotif-2.2.3-6.RHEL4.2.i386.rpm
setarch-1.6-1.i386.rpm
 
 
 
 
Ò»£®°²×°Ç°×¼±¸——×¢ÒâÊÂÏî:
1. oracleÓû§²»ÉÙÓÚ5GµÄ´ÅÅÌ¿Õ¼ä.
# df -k
 
2.Ñ¡Ôñ³ÌÐò°ü×éʱӦµ±°üÀ¨: X Window ϵͳ, Gnome/KDE, ±à¼­Æ÷, ͼÐÎÒòÌØÍø, ¿ª·¢¹¤¾ß, ¹ÜÀí¹¤¾ß, Ô­ÓÐÈí¼þ¿ª·¢.£¨×îºÃÔÚ°²×°linuxʱѡÔñÈ«²¿°²×°£¬ÒÔÏÂֻ˵Ã÷ linuxÈ«²¿°²×°ºóÖ»°²×°Ò»¸öȱÉÙ°üµÄÇé¿ö£¬Èç¹ûÐèÒªÆäËüµÄ°ü£¬Ö±½ÓÁªÏµQQ£º8042281£©ÌáÐÑÔÚÈ«²¿°²×°ºó¾ÍֻȱÉÙÒ»¸ö°ü£ºcompat-oracle-rhel4-1.0-5.i386.rpm
[µØÖ·1]ÏÂÔØ´Ë°üµÄµØÖ·£ºhttp://download.csdn.net/source/2119576
ÏÈÓÃÒÔÏÂÃüÁî¼ì²é°üµÄ´æÔÚÇé¿ö£º
# rpm -q compat-db compat-gcc-32 compat-gcc-32-c++ compat-libstdc++-33 compat-oracle-rhel4 gcc glibc libaio make openmotif setarch
½ÓÏÂÀ´ÔÙʹÓÃ: [µØÖ·1]°²×°compat-oracle-rhel4°ü¡£(¾ßÌåÏÂÔغó°²Ë³ÐòʹÓÃÃüÁîrpm -ivh °üÃûÀ´°²×°¾ÍÐÐÁË£¬ÕâÀï¾Í²»Áгö¡£)
 
 
 
 
 
 
¶þ. Oracle ÅäÖÃ Linux»·¾³
Linux Èí¼þÏÖÒÑ°²×°Íê±Ï£¬ÄúÐèÒªÕë¶Ô Oracle ¶ÔÆä½øÐÐÅäÖᣱ¾²¿·Ö½«Öð²½½²½âÕë¶ÔOracle Êý¾Ý¿â 10g ÅäÖà Linux µÄ¹ý³Ì¡£
 
1.Ñé֤ϵͳҪÇó:
ÒªÑé֤ϵͳÊÇ·ñÂú×ã Oracle 10g Êý¾Ý¿âµÄ×îµÍÒªÇó£¬ÒÔ root Óû§Éí·ÝµÇ¼²¢ÔËÐÐÒÔÏÂÃüÁî¡£
Òª²é¿´¿ÉÓà RAM ºÍ½»»»¿Õ¼ä´óС£¬ÔËÐÐÒÔÏÂÃüÁ
# grep MemTotal /proc/meminfo
MemTotal:512236 kB
# grep SwapTotal /proc/meminfo
SwapTotal:1574360 kB
ËùÐè×îС RAM Ϊ 512MB£¬¶øËùÐè×îС½»»»¿Õ¼äΪ 1GB¡£¶ÔÓÚ RAM СÓÚ»òµÈÓÚ 2GB µÄϵͳ£¬½»»»¿Õ¼äӦΪ RAM ÊýÁ¿µÄÁ½±¶£»¶ÔÓÚ RAM ´óÓÚ 2GB µÄϵͳ£¬½»»»¿Õ¼äӦΪ RAM ÊýÁ¿µÄÒ»µ½Á½±¶¡£
 
 
 
 
 
2.ÅäÖÃLinuxÄں˲ÎÊý
Linux Äں˷dz£³öÉ«¡£Óë´ó¶àÊýÆäËû *NIX ϵͳ²»Í¬£¬Linux ÔÊÐíÔÚϵͳÆô¶¯ºÍÔËÐÐʱÐ޸Ĵó¶àÊýÄں˲ÎÊý¡£Íê³ÉÄں˲ÎÊý¸ü¸Äºó


Ïà¹ØÎĵµ£º

Oracle Decodeº¯ÊýʹÓü¼ÇÉ


decodeº¯Êý
Óï·¨£º
decode(expr,search,result[,search,result]..[,search,result][,default])
½âÊÍ£º
±È½ÏexprÓëÿ¸ösearchµÄÖµ£¬Èç¹ûexprµÈÓÚij¸ösearch£¬Ôò·µ»ØÏàÓ¦µÄresult£»Èç¹ûûÓÐÆ¥ÅäµÄÖµ£¬Ôò·µ»ØdefaultÖµ£»Èç¹ûûÓÐÖ¸¶¨defaultÖµ£¬Ôò·µ»Ønull
×¢Ò⣺
±È½ÏÇ°£¬Oracle×Ô¶¯½«exprµÄÊý¾ÝÀàÐÍת»»³ÉµÚÒ»¸ösear ......

oracle ´æ´¢¹ý³ÌµÄ»ù±¾Óï·¨

1.»ù±¾½á¹¹
CREATE OR REPLACE PROCEDURE ´æ´¢¹ý³ÌÃû×Ö
(
    ²ÎÊý1 IN NUMBER,
    ²ÎÊý2 IN NUMBER
) IS
±äÁ¿1 INTEGER :=0;
±äÁ¿2 DATE;
BEGIN
END ´æ´¢¹ý³ÌÃû×Ö
2.SELECT INTO STATEMENT
  ½«select²éѯµÄ½á¹û´æÈëµ½±äÁ¿ÖУ¬¿ÉÒÔͬʱ½«¶à¸öÁд洢¶à¸ö±äÁ¿ÖУ¬±ØÐëÓÐÒ»Ì ......

ORACLE´ø²ÎÈ«Á¬½Ó

    
  select * from (
  select cw2.NO WHOLENO,sp1.ARGUMENTNAME TYPENAME,sp2.ARGUMENTNAME BRANDNAME,sp3.ARGUMENTNAME STYLENAME,sp4.ARGUMENTNAME DEPART,so.OPERATORNAME USERNAME
  from COM_WHOLE_INFO cw2,SYS_OPERATOR so, SYS_PUBLICARGUMENT sp1, SYS_PUBLICARGUMEN ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ