note 26265 added to ref.oci8
| From: | max at uibk dot ac dot at | Date: | Thu, 24 Oct 2002 13:38:24 +0000 |
| Subject: | note 26265 added to ref.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38504@lists.php.net to get a copy of this message | ||
hi
i cannot fetch values from a column if i put a function upon it:
$sql = "select x from dual"; // works OK
$sql = "select upper(x) from dual"; // will fail with OCIFetch: ORA-24374
the (not whole) rest of the code:
$stmt = OCIParse($db_connect, $string);
OCIExecute($stmt, OCI_DEFAULT);
while (OCIFetch($stmt)) {
print (OCIResult($stmt, "X"));
}
any suggestion appreciated.
thanks
max
--
http://www.php.net/manual/en/ref.oci8.php
http://master.php.net/manage/user-notes.php?action=edit+26265
http://master.php.net/manage/user-notes.php?action=delete+26265
http://master.php.net/manage/user-notes.php?action=reject+26265