[Oracle/PHP]Is it possible to pass an array to a PL/SQL procedure?
Question
If it is possible, how does the parameter need to look like in the procedure? And how do you pass an array to a procedure?
Solution
Yep, you can. You need to use oci_bind_array_by_name.
This page has a good example of it.
OTHER TIPS
You can also pass multiple records from .NET into Oracle with just one call. You set the ArrayBindCount of the command object to the number of elements you want to pass in and the value of the parameter to the array of values rather than a single value. Sample here:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow