ocinumcols

(PHP 3 >= 3.0.4, PHP 4, PHP 5)

ocinumcols -- oci_num_fields() 的别名

说明

本函数是该函数的别名:oci_num_fields()


add a note add a note User Contributed Notes
jnield at impole dot com
19-Nov-1999 11:43
The following is not immediately obvious:

If you need the number of columns in a REF CURSOR returned from a PL/SQL procedure, you need to use OCINumColumns() on the cursor handle returned by OCINewCursor after it is bound and executed, not the statement handle. Same applies for OCIColumnName() and friends.