php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12328 OCIStmtExecute: ORA-01460
Submitted: 2001-07-24 02:51 UTC Modified: 2002-04-13 08:52 UTC
From: chand51 at c4 dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chand51 at c4 dot com
New email:
PHP Version: OS:

 

 [2001-07-24 02:51 UTC] chand51 at c4 dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 08:52 UTC] thies@php.net
see 

http://conf.php.net/oci2

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 12:01:29 2025 UTC