|
Posted by Mladen Gogala on 05/17/06 15:22
On Wed, 17 May 2006 07:49:46 +0200, Steph wrote:
> what is oci_define_by_name();
>
> used for then?
So called "define" is a phase in SQL processing in which output
variables are defined. Scripting languages like PHP and Perl implemented
"fetch" calls in such a way that the output variables are auto-magically
created, which eliminates the need for the define phase. The "define" call
is rarely used atavism which can be buggy and is likely to be thrown out
in foreseeable future. Of course, I'm not an OCI8 developer and I don't
know much about the plans for the interface improvement, that is only my
assumption. If you insist on using oci_define_by_name, you can try with
the different version of OCI8 interface. Tha last official version is
1.2.1 and is available from PECL.
--
http://www.mgogala.com
[Back to original message]
|