|
Posted by sam.lumbroso on 07/19/06 23:29
I have the following object type created in Oracle (OCI8):
create or replace type address as object
(
address VARCHAR2(80),
city VARCHAR2(80),
state VARCHAR2(20),
zip VARCHAR2(10)
)
and I have the following table created:
create table test
(
address ADDRESS
)
and when I run this:
$sql = "SELECT * FROM test";
$s = ociparse(O_CON, $sql);
ociexecute($s);
I get this error:
Warning: ociexecute(): OCIDefineByPos: ORA-00932: inconsistent
datatypes in /home/httpd/html/stats/test.php on line (the ociexecute
line)
Can I not select custom types from Oracle or is there something else I
have to do?
Navigation:
[Reply to this message]
|