note 18315 rejected from function.ociexecute by irc-html
| From: | irc-html@php.net | Date: | Fri, 18 Jan 2002 03:42:29 +0000 |
| Subject: | note 18315 rejected from function.ociexecute by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25014@lists.php.net to get a copy of this message | ||
My DBA user cannot query Dynamic Performance (V$) Views.
The PHP source code are:
$sql = "SELECT NAME FROM V$DATABASE";
$stmt = OCIParse($conn, $sql);
OCIExecute($stmt);
if(OCIFetch($stmt))
echo OCIResult($stmt, 1);
OCIFreeStatement($stmt);
The PHP report warning:
OCIStmtExecute: ORA-00942: table or view does not exist in
D:\oracle\ora9\Apache\Apache\htdocs\main.php on line 13
Thanks & Regards