Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : Oracle

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

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

php Öвéѯoracle date ÀàÐÍÊý¾ÝµÄÎÊÌâ?

ÈÕÇ°ÓÃociº¯Êý²éѯoracleÊý¾Ýʱ³öÏÖ¸öÎÊÌ⣬¾ÍÊÇÔÚ²éѯµ½dateÀàÐ͵ÄÊý¾Ýʱ£¬Ê¹ÓÃpl/sql ²éѯoracle¿âÖеÄÊý¾ÝÏÔʾÊÇ
2009-9-29 12:12:12
µ«ÊÇͨ¹ýÓï¾äselect * from tablename ²éѯ£¬Ê¹ÓÃoci_fetch_array£¨£©º¯Êý»ñÈ¡µ½µÄ¸Ãʱ¼ä×ֶεÄֵȴÊÇ
30-9ÔÂ -09
ÇëÎÊÈçºÎ½«Õâ¸ö¸ñʽµÄ×Ö¶Îת³ÉÉÏÃæµÄ×ֶΣ¬»òÕßÈçºÎÔÚp ......

PHP Á¬½ÓOracle ³ö´í

<?php
  getenv("ORACLE_HOME");
  $conn=ocilogon("test","test","test_db");
  if($conn)  
  echo success;  
  else  
  echo fail;  
  ?>
±¨ÒÔÏ´íÎó£º
Warning: ocilogon(): ......

ÇóÒ»ÌõsqlÓï¾ä£¨php²Ù×÷oracle·½ÃæµÄ£©

Ô­¾äÊÇÕâÑùµÄ£º

$sql = "SELECT * from `BadDut.user` WHERE `Account`='".strtolower($_POST["username"])."' ";

strtolowerÊÇphpµÄÒ»¸öº¯Êý£¬²»Çø·Ö´óСдµÄ¡£

Èç¹û°´ÕÕoracleµÄд·¨Ôõôд£¿Ð»Ð»£¡
ÒýÓÃ
Ô­¾äÊÇÕâÑùµÄ£º

$sql = "SELECT * fr ......

phpºÍoracleµÄһЩÁ¬½ÓÎÊÌâ

2¸öÒ³Ã棺
conn.php
PHP code:

<?php
$con = oci_connect("finaltest","finaltestpw","(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.19.101.72)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ENGDB01)
))
&q ......

phpºÍoracleµÄÒ³ÃæµÇ¼ÎÊÌâ

Conn.phpÒ³Ã棺
[code=php]
<?php
$con = oci_connect("finaltest","finaltestpw","(DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 172.19.101.72)(PORT = 1521))
    )
    (CONNECT_DAT ......
×ܼǼÊý:1827; ×ÜÒ³Êý:305; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [296] [297] [298] [299] [300] [301] 302 [303] [304] [305]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ