4D v16

OCIBindDateByName

Home

 
4D v16
OCIBindDateByName

OCIBindDateByName 


 

OCIBindDateByName ( stmtp ; bindpp ; errhp ; placeholder ; valuep ; valuep2 ; dty ; indp ; alenp ; rcodep ; maxarr_len ; mode ) -> Function result 
Parameter Type   Description
stmtp  Longint in Statement handle
in
bindpp  Longint in Address of bind handle
in
errhp  Longint in Error handle
in
placeholder  String in Name of placeholder
valuep  Pointer in Address of data value(s) of type specified in dty parameter
in
valuep2  Pointer in Address of data value(s) of type specified in dty parameter
in
dty  Longint in Datatype of value(s) being bound
indp  Pointer in Indicator variable or array
in
alenp  Pointer in Array of actual lengths of array elements
in
rcodep  Pointer in Array of column-level return codes
maxarr_len  Longint in Maximum array length parameter
mode  Longint in Specifies mode of operation
Function result  Longint in Status

Please refer to the OCIBindDateByName command in the OCI documentation provided by Oracle.

Note: The OCIBindDateByName command is similar to the OCIBindByName command except that there is an additional valuep2 parameter to adapt it for working with Oracle columns of the TIMESTAMP type. For this command, the valuep parameter is a pointer to a date (C_DATE) and valuep2 is a pointer to a time (C_TIME). When both parameters are used in a bind, the command takes the date (day/month/year) from the valuep parameter and the time (hour:minute:second) from the valuep2 parameter.

For more information about handling dates, see Working with Oracle Date types.



See also 

OCIBindByName
OCIBindByPos
OCIBindDateByPos

 
PROPERTIES 

Product: 4D
Theme: Relational Commands
Number: 705235

 
HISTORY 

 
ARTICLE USAGE

4D for OCI ( 4D v16)