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

Oracle ÍâÁ¬½ÓºÍ £¨+£©ºÅµÄÓ÷¨

¶ÔÓÚÍâÁ¬½Ó£¬OracleÖпÉÒÔʹÓÓ(+)”À´±íʾ£¬9i¿ÉÒÔʹÓÃLEFT/RIGHT/FULL OUTER JOIN£¬ÏÂÃ潫ÅäºÏʵÀýÒ»Ò»½éÉÜ¡£
1. LEFT OUTER JOIN£º×óÍâ¹ØÁª
SELECT e.last_name, e.department_id, d.department_name 
from employees e 
LEFT OUTER JOIN departments d 
ON (e.department_id = d.department_id); 
µÈ¼ÛÓÚ
SELECT e.last_name, e.department_id, d.department_name 
from employees e, departments d 
WHERE e.department_id=d.department_id(+); 
½á¹ûΪ£ºËùÓÐÔ±¹¤¼°¶ÔÓ¦²¿ÃŵļǼ£¬°üÀ¨Ã»ÓжÔÓ¦²¿ÃűàºÅdepartment_idµÄÔ±¹¤¼Ç¼¡£
2. RIGHT OUTER JOIN£ºÓÒÍâ¹ØÁª
SELECT e.last_name, e.department_id, d.department_name 
from employees e 
RIGHT OUTER JOIN departments d 
ON (e.department_id = d.department_id); 
µÈ¼ÛÓÚ
SELECT e.last_name, e.department_id, d.department_name 
from employees e, departments d 
WHERE e.department_id(+)=d.department_id; 
½á¹ûΪ£ºËùÓÐÔ±¹¤¼°¶ÔÓ¦²¿ÃŵļǼ£¬°üÀ¨Ã»ÓÐÈκÎÔ±¹¤µÄ²¿ÃżÇ¼¡£
3. FULL OUTER JOIN£ºÈ«Íâ¹ØÁª
SELECT e.last_name, e.department_id, d.department_name 
from employees e 
FULL OUTER JOIN departments d 
ON (e.department_id = d.department_id); 
½á¹ûΪ£ºËùÓÐÔ±¹¤¼°¶ÔÓ¦²¿ÃŵļǼ£¬°üÀ¨Ã»ÓжÔÓ¦²¿ÃűàºÅdepartment_idµÄÔ±¹¤¼Ç¼ºÍûÓÐÈκÎÔ±¹¤µÄ²¿ÃżÇ¼¡£
ÍâÁ¬½Ó:
³ýÁËÏÔʾƥÅäÏàµÈÁ¬½ÓÌõ¼þµÄÊý¾ÝÍâ,»¹¿ÉÒÔÏÔʾijһ¸ö±íÖÐÎÞ·¨Æ¥ÅäÏàµÈÁ¬½ÓÌõ¼þµÄ¼Ç¼!
------------------------------------------------
1) ×óÌõ¼þ(+) = ÓÒÌõ¼þ
×óÌõ¼þËùÔڵıí±ØÐëÑϸñ½øÐÐÏàµÈÁ¬½ÓÌõ¼þµÄÆ¥Åä,¶øÓÒÌõ¼þËùÔڵıí³ýÁËÆ¥ÅäÏàµÈÁ¬½ÓÌõ¼þÍ⣬»¹¿ÉÒÔÏÔʾÎÞ·¨Æ¥ÅäÁ¬½ÓÌõ¼þµÄÊý¾Ý!
Ò²³ÆΪÓÒÍâÁ¬½Ó.
--------------------------------
¿ÉÒÔÓÃÏÂÁÐÓï¾äÈ¡´ú:
SELECT...from ±í1 RIGHT OUTER JOIN ±í2 ON Ìõ¼þ;
2) ×óÌõ¼þ = ÓÒÌõ¼þ(+)
ÓÒÌõ¼þËùÔÚ


Ïà¹ØÎĵµ£º

oracleÔÙѧϰÄÚÈÝ

1¡¢oracle½ø³ÌÌåϵ½á¹¹
2¡¢oracleÄÚÖöÔÏó
3¡¢¹ØÓÚoracleÔÚÏßÈÕÖ¾¡¢¹éµµÈÕÖ¾¡¢Êý¾Ý¿â»Ö¸´¡¢rman
4¡¢Ñ§Ï°goldengateµÄÅäÖÃ
5¡¢¹ØÓÚoracleµÄ¸÷°æ±¾Éý¼¶·½·¨£»
  ½«oracle10g Éý¼¶ÖÁ10.2.0.4  
  http://www.cnblogs.com/zhou__zhou/archive/2009/10/07/oracle_patch.html ......

oracle »»ÐеĽâ¾ö°ì·¨

ÆäʵÕâ¸öºÜ¼òµ¥¾Í°²×°Èý¸ö°ü¾Í¿ÉÒÔÁË£¬·Ö±ðÊÇ£º
IO-Tty-1.07.tar.gz£¬Term-ReadLine-Gnu-1.16.tar.gz£¬ uniread-1.01.tar.gz¡£
 
ÕâÈý¸ö°üÔÚÎҵĿռäÀﶼÓÐ http://fwx515354.download.csdn.net/
½âѹ
tar -zxvf IO-Tty-1.07.tar.gz
tar -zxvf Term- ......

Oracle Á¬½ÓÔ¶³ÌÊý¾Ý¿â

¹«Ë¾Ê¹ÓÃlinux¿ª·¢»ú½øÐгÌÐò¿ª·¢Ê±£¬ÓÉÓÚ¿ª·¢ÓÃOracleÊý¾Ý¿âÊÇÓÉÈÕ·½Ìṩ£¬ËùÒÔ¾­³£Ê¹ÓÃsqlplusÁ¬½Óµ½Ô¶³ÌÊý¾Ý¿âÉϽøÐпª·¢,ÀýÈ磺
sqlplus  username/password@servicename
ÓÚÊÇÏ룬ÓÃÎÒµÄÁ½Ì¨µçÄÔË«»ú»¥ÁªÊÔÒ»ÊÔ£¬Ò²Íæ¸ö“Ô¶³ÌÁ¬½Ó”¡£ÊµÑéÈçÏ£º
Ê×ÏÈÔÚÎÒµĄ̈ʽ»úÉÏ°²×°ÁËOracle9iµÄÊý¾Ý¿â¹ÜÀíϵͳ£¬ ......

Êý¾Ý¿âtimestenÓë oracle ´¦ÀíÈÕÆÚÉÏд·¨ÉϵIJ»Í¬

     ÓÉÓÚ¹«Ë¾ÒµÎñÔö³¤½Ï¿ì£¬Êý¾Ý¿âoracleѹÁ¦Ô½À´Ô½´ó£¬¹«Ë¾¿¼ÂÇÔÚÓ¦Ó÷þÎñÆ÷ Websphere ºÍ Êý¾Ý¿âoracleÖ®¼äÔö¼Ó timestenÊý¾Ý¿âÀ´ÊµÏÖÊý¾ÝµÄ¶Áд·ÖÀ룬ÁíÍâÓÉÓÚtimestenÊÇÄÚ´æÊý¾Ý¿â£¬ËùÒÔ²éѯËÙ¶ÈÉÏÒªÓÅÓÚ oracle Êý¾Ý¿â£¬Á½¸öÊý¾Ý¿âËäÈ»¶¼ÊÇoracle¹«Ë¾µÄ²úÆ·£¬µ«ÊÇÔںܶàsqlµÄд·¨ÉÏÊDz»ÏàͬµÄ£¬Ï ......

Oracleѧϰ×ܽá

Oracle£ºÒ»¸öÊý¾Ý¿âÓжà¸öÓû§,Ò»¸öÓû§ÓµÓÐÒ»×éÊý¾Ý¿â¶ÔÏó,Õâ¸öÓû§ÎÒÃÇË׳ÆΪ·½°¸,
      ͨ³£Ò»¸öÒµÎñϵͳ¶ÔÓ¦Ò»¸öÊý¾Ý¿âÓû§¡£
¡ïOracle°²×°³É¹¦ºó»á×Ô¶¯´´½¨Ê®À´¸öϵͳ½ç±ðµÄÕË»§¡£Ä¬ÈÏÇé¿öÏÂÕâЩÕË»§ÖÐÖ»ÓÐËĸö¿ÉÓã¬ÆäËüµÄÕʺŶ¼±»ÉèÖóÉÁËËø¶¨»òÊÇÉèÖÃΪ¹ý   ÆÚ״̬£¬ÕâËĸöÕÊ»§¾Í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ