Re: Re: OCI extension - OCIQuery() ?
| From: | Maxim Maletsky | Date: | Thu, 17 Oct 2002 11:36:26 +0000 |
| Subject: | Re: Re: OCI extension - OCIQuery() ? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89638@lists.php.net to get a copy of this message | ||
"Thies C. Arntzen" <thies@thiesos.org> wrote... :
> > Hope to see someone to anser, commenting my thoughts on this. I am very
> > much willing contributing to the PHP's Oracle support development.
>
> that always appreciated. wher do you want to start?
> tc
Thies, what do you thik of adding an OCIQuery function?
e.g:
<?php
$query = "SELECT to_char(sysdate) FROM dual";
// this:
$stmt = OCIParse($conn, $query);
$result = OCIExecute($stmt, OCI_DEFAULT);
// can be this:
$result = OCIQuery($conn, $query, OCI_DEFAULT);
?>
It could be a nice shortcut for those who use this combo always together
and, plus, it would be a very elementary thing to implement.
What do you think of it?
I could start from this one, to warm up :) It's been I while I thought
OCIQuery() could have been implemented.
--
Maxim Maletsky
maxim@php.net