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

oracle ²éѯ£¬ÒÔ¼°Ð§ÂÊ¿¼ÂÇ

ÏÖÓÐÒ»¸ö±íA
ÄÚÈÝÈçÏÂ

name  index  purview
СÍõ    1      3

±íB

    id  type  way
    1  Ê×Ò³  ÈκÎÈË
    2  Ê×Ò³  Òþ²Ø
    3  ÓéÀÖ  ½öºÃÓÑ
    4  ÓéÀÖ  ÈκÎÈË
ÏëÒª½á¹û£º
  name type  way  type  way
СÍõ    Ê×Ò³ ÈκÎÈË ÓéÀÖ ½öºÃÓÑ




SQL code:
select aa.name,aa.type,aa.way,bb.type,bb.way
(select a.name,b.type,b.way from a,b where a.index=b.id) aa,
(select a.name,b.type,b.way from a,b where a.purview=b.id) bb,
where aa.name=bb.name


×îºÃ±íÃû²»ÒªÓùؼü×Ö!


лл¥ÉϵĹØÐÄ£¬¹þ¹þ£¬ÎÒÊǾÙÀý£¬´ÓÀ´²»ÓÃ~~~~`

select aa.name,aa.type,aa.way,bb.type,bb.way
(select a.name,b.type,b.way from a,b where a.index=b.id) aa,
(select a.name,b.type,b.way from a,b where a.purview=b.id) bb,
where aa.name=bb.name
¶ÔµÄ

select aa.name,aa.type,aa.way,bb.type,bb.way from
(select a.name,b.type,b.way from a,b where a.index=b.id) aa,
(select a.name,b.type,b.way from a,b where a.purview=b.id) bb
where aa.name=bb.name

#1¥дµÄ©µô¶«Î÷~~~

»¹ÓиüºÃµÄ·½·¨Â𣿣¿~~~



Ïà¹ØÎÊ´ð£º

oracle sql developer ²éѯÏÔʾÖÐÎÄÂÒÂë

»·¾³£º1.win2003server+oracle9i
2.oracle9i×Ö·û¼¯ÎªAMERICAN_AMERICA.WE8ISO8859P1
3.oracle sql developer°æ±¾ 1.5.5
ÏÖÏóÃèÊö: 1.ÔÚsql developer ÖвéѯoracleÖеÄij¸ö±í£¬ÖÐÎÄÈ«²¿ÏÔʾΪÂÒÂë¡£ ......

PHP Á¬½ÓOracle ³ö´í

<?php
  getenv("ORACLE_HOME");
  $conn=ocilogon("test","test","test_db");
  if($conn)  
  echo success;  
&nb ......

ORACLEÊý¾Ý¿âÖÐµÄ group by Óï¾ä£¿

  with adod_dict do
    begin
    close;
    commandtext:='select bgqxcode,count(*) wjsl from wscl_wsda_file where wjnd=:tnd group by bgqxcode'; ......

ÇóʹÓÃt-sqlÓï¾ä½«paradoxÊý¾Ýµ¼ÈëoracleµÄ°ì·¨

ʹÓÃt-sqlÓï¾ä½«sqlserver2kÊý¾Ýµ¼ÈëparadoxµÄ¹¦ÄÜÎÒÒÑʵÏÖ£¬ÓõÄÊÇinsert into ... from table in [ODBC][ODBC;Driver=SQL Server...]µÄ°ì·¨£¬µ±ÎÒ×¼±¸Èç·¨ÅÚÖÆÍê³Éparadoxµ¼Èëoracleʱȴ²»ÐУ¬²»±¨´íµ«ÊÇÖ´ÐкóÃ»Ó ......

Oracle Æô¶¯µÄÎÊÌâ

oracle not available
shared memory realm does not exist
ÇëÎʸßÊÖÕâ¸öÎÊÌâÈçºÎ½â¾ö£¿
http://www.inthirties.com/thread-109-2-1.html

Ö¸¶¨ÏÂORACLE_SID,ORACLE_HOME¿´¿´£¬²»ÐоÍÓÃ1Â¥µÃ·½·¨ÁË..

cm ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ