More Oracle fixes.

* FROM clause required, so Select from dual.
* Use bind_param_inout_array() to get multiple values from RETURNING.
* Use COLLECT() to construct arrays.
* Pass rownum to parent query for proper ordering.