4D v16

OCIBindDateByPos

ホーム

 
4D v16
OCIBindDateByPos

OCIBindDateByPos 


 

OCIBindDateByPos ( stmtp ; bindpp ; errhp ; position ; valuep ; valuep2 ; dty ; indp ; alenp ; rcodep ; maxarr_len ; mode ) -> 戻り値 
引数   説明
stmtp  倍長整数 in Statement handle
in
bindpp  倍長整数 in Address of bind handle
in
errhp  倍長整数 in Error handle
in
position  倍長整数 in Specifies placeholder attributes
valuep  ポインター in Address of data value(s) of type specified in dty parameter
in
valuep2  ポインター in Address of data value(s) of type specified in dty parameter
in
dty  倍長整数 in Datatype of value(s) being bound
indp  ポインター in Indicator variable or array
in
alenp  ポインター in Array of actual lengths of array elements
in
rcodep  ポインター in Array of column-level return codes
maxarr_len  倍長整数 in Maximum array length parameter
mode  倍長整数 in Specifies mode of operation
戻り値  in Status

説明   

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

Note: The OCIBindDateByPos command is similar to the OCIBindByPos 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 the example for Executing an SQL INSERT request.



参照 

OCIBindDateByName

 
プロパティ 

プロダクト: 4D
テーマ: Relational Commands
番号: 705234

 
履歴 

 
ARTICLE USAGE

4D for OCI ( 4D v16)