(no version information, might be only in CVS)
oci_bind_array_by_name -- Binds PHP array to Oracle PL/SQL array by nameЗамечание: This function is available since OCI8 release 1.2 and PHP release 5.1.2.
oci_bind_array_by_name() binds the PHP array
var_array
to the Oracle placeholder
name
, which points to Oracle PL/SQL array.
Whether it will be used for input or output will be determined at
run-time. The max_table_length
parameter sets the maximum length both for incoming and result arrays.
Parameter max_item_length
sets maximum length for
array items. If max_item_length
was not specified
or equals to -1, oci_bind_array_by_name() will use
find the longest element in the incoming array and will use it as
maximum length for array items. type
parameter
should be used to set the type of PL/SQL array items. See list of
available types below.
SQLT_NUM - for arrays of NUMBER.
SQLT_INT - for arrays of INTEGER (Note: INTEGER it is actually a synonym for NUMBER(38), but SQLT_NUM type won't work in this case even though they are synonyms).
SQLT_FLT - for arrays of FLOAT.
SQLT_AFC - for arrays of CHAR.
SQLT_CHR - for arrays of VARCHAR2.
SQLT_VCS - for arrays of VARCHAR.
SQLT_AVC - for arrays of CHARZ.
SQLT_STR - for arrays of STRING.
SQLT_LVC - for arrays of LONG VARCHAR.
SQLT_ODT - for arrays of DATE.
Пред. | Начало | След. |
OCI-Lob->writeToFile | Уровень выше | oci_bind_by_name |