FAQ
Edit report at https://bugs.php.net/bug.php?id=65980&edit=1

  ID: 65980
  Updated by: sixd@php.net
  Reported by: m dot a dot ogarkov@gmail.com
  Summary: Allow «IN» statement binding
-Status: Open
+Status: Not a bug
  Type: Feature/Change Request
  Package: OCI8 related
  Operating System: all supported
  PHP Version: 5.5.5
  Block user comment: N
  Private report: N

  New Comment:

This is an Oracle limitation, not an OCI8 problem. Changing it would require Oracle to parse the bound data to identify the delimiters. This is extremely unlikely to happen. If you want to pursue it, please log a request with Oracle Corp.


Previous Comments:
------------------------------------------------------------------------
[2013-10-28 05:27:37] m dot a dot ogarkov@gmail.com

Description:
------------
When dealing with «IN» clause within sql statements it will be convinient to be able to bind php array to expression within brackets in such way:

SELECT ID
FROM TABLE
WHERE ID IN (:host_variable);

$ids = [1,2,3,5,6];
oci_bind_by_name($statement, ":host_variable", $ids);







------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupphp-bugs @
categoriesphp
postedAug 14, '14 at 4:02p
activeAug 14, '14 at 4:02p
posts1
users1
websitephp.net

1 user in discussion

Sixd: 1 post

People

Translate

site design / logo © 2019 Grokbase