Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
また、バインドされた値にどのようにインデックスを付けますか? たとえば、私が持っているとします:
oci_parse($handler, "SELECT * FROM table where something = :bv_name['index']") oci_bind_by_name($stid, ":bv_name", $varname);
そのインデックス作成は明らかに機能しません。PHPでこれをきれいに行う方法はありますか?
特定のインデックスをバインドする必要があります。
oci_bind_by_name($stid ":bv_name", $varname['index']);
クエリでのみ使用:bv_nameします。
:bv_name