Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> OCIBindByName always allocates a new bind handle?

OCIBindByName always allocates a new bind handle?

From: Erik L. De Bonte <erik.debonte_at_won.net>
Date: Thu, 13 Aug 1998 16:04:38 -0700
Message-ID: <6qvs49$jqb$1@plo.sierra.com>


The OCI 8 manual says that the bindpp parameter of OCIBindByName takes "an

address of a bind handle which is implicitly allocated by this call...The
handle is freed implicitly when the statement handle is deallocated.  On
input, the value of the pointer must be NULL or a valid bind handle."

The last sentence seems to imply that you can pass it a previously allocated bind handle and have it use it instead of creating a new one. However, I tried this and it seems to allocate a new handle anyway.

Is there a way to get OCIBindByName to reuse an existing bind handle?

-Erik Received on Thu Aug 13 1998 - 18:04:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US