在用php的oci向Oracle中插入一个clob型的大数据:
代码如下:
                  $this->stmt = oci_parse($this->db,$sql);
$constent = oci_new_descriptor($this->db, OCI_D_LOB);
oci_bind_by_name($this->stmt,':content',$content,-1,OCI_B_CLOB);
$constent->write($data);
 
        oci_execute($this->stmt) or $this->error($this->stmt);
系统报错:
Warning: oci_bind_by_name() [function.oci-bind-by-name]: Unable to find descriptor property in D:\Boka\BOKA_ENV\Website\localhost\lib\ocisql.php on line 127Warning: OCI-Lob::write() [function.write]: OCI_INVALID_HANDLE in D:\Boka\BOKA_ENV\Website\localhost\lib\ocisql.php on line 128Warning: oci_execute() [function.oci-execute]: ORA-01008: not all variables bound in D:\Boka\BOKA_ENV\Website\localhost\lib\ocisql.php on line 138请大家帮我看看问题出在哪,谢谢了