Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> OCISessionBegin: Error while trying to retrieve text for error ORA-12705 in /....

OCISessionBegin: Error while trying to retrieve text for error ORA-12705 in /....

From: heoseong <hersung_at_hotmail.com>
Date: Mon, 3 Dec 2001 23:12:33 +0900
Message-ID: <9ug04l$dq8$1@news2.kornet.net>


<?php
/* OCIDefineByPos example thies_at_digicol.de (980219) */
$db="(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = CP)(HOST = csedu1)(PORT = 1521))) (CONNECT_DATA = (SID = RCL)))"; $conn = OCILogon("scott","tiger",$db);
$stmt = OCIParse($conn,"select empno, ename from emp");
/* the define MUST be done BEFORE ociexecute! */
OCIDefineByName($stmt,"EMPNO",&$empno);
OCIDefineByName($stmt,"ENAME",&$ename);
OCIExecute($stmt);
while (OCIFetch($stmt)) {

    printf("number:".$empno."<br>");
    printf("name:".$ename."<br>");
}
OCIFreeStatement($stmt);
OCILogoff($conn);
?>



Warning: OCISessionBegin: Error while trying to retrieve text for error ORA-12705 in /home/oracle/public_html/oracle2.php on line 4

Warning: Supplied argument is not a valid OCI8-Connection resource in
/home/oracle/public_html/oracle2.php on line 5

Warning: Supplied argument is not a valid OCI8-Statement resource in
/home/oracle/public_html/oracle2.php on line 7

Warning: Supplied argument is not a valid OCI8-Statement resource in
/home/oracle/public_html/oracle2.php on line 8

Warning: Supplied argument is not a valid OCI8-Statement resource in
/home/oracle/public_html/oracle2.php on line 9

Warning: Supplied argument is not a valid OCI8-Statement resource in
/home/oracle/public_html/oracle2.php on line 10

Warning: Supplied argument is not a valid OCI8-Statement resource in
/home/oracle/public_html/oracle2.php on line 14
Received on Mon Dec 03 2001 - 08:12:33 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US