Below is my procedure
NOBL_TEC_TEST_PROC(v1 number,v2 out number)
my model function
public function testProc()
{
$result = '';
$db = "orcl";
$conn = oci_connect("***", "****", $db);
$sql = 'begin NOBL_TEC_TEST_PROC(222, :seqno); end;';
$stmt = oci_parse($conn,$sql);
oci_bind_by_name($stmt, ':seqno', $result);
oci_execute($stmt);
return $result;
}
if I give the IN value <10 it is working fine, but when I try to give IN value >10 it is giving following error.
<b>Warning</b>: oci_execute(): ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1 in....
How can I fix this? Any help? Thanks