Bug #12328 Updated: OCIStmtExecute: ORA-01460
| From: | thies@php.net | Date: | Sat, 13 Apr 2002 12:52:50 +0000 |
| Subject: | Bug #12328 Updated: OCIStmtExecute: ORA-01460 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4856@lists.php.net to get a copy of this message | ||
ID: 12328
Updated by: thies@php.net
Reported By: chand51@c4.com
-Status: Open
+Status: Closed
Bug Type: OCI8 related
Operating System: linux
PHP Version: 4.0.6
New Comment:
see
http://conf.php.net/oci2
Previous Comments:
------------------------------------------------------------------------
[2001-07-24 02:51:44] chand51@c4.com
On executing the code mentioned below, I get the following error:
"Warning: OCIStmtExecute: ORA-01460: unimplemented or unreasonable
conversion requested in /home/guest/chan/code/orafuncall.php on line
13"
The code is written in php4 on linux(suse) as;
<?php
// trying oracle procedure call from php
// created on : 24-July-2001
$conn = ocilogon("user1", "user1pass", "");
$sid = "john@dummy";
$stmt = OCIParse( $conn, "begin passfunct( :sid);
end;" );
OCIBindByName ($stmt, ":sid", &$sid, 10 );
OCIExecute($stmt);
?>
Or can anybody help me on how to call oracle functions(procedure)
through php4.
from
-Chan
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12328&edit=1