Vous êtes sur le site Web historique de la documentation de 4D. Les documentations sont progressivement déplacées vers developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20
OCIBindDateByPos
|
OCIBindDateByPos ( stmtp ; bindpp ; errhp ; position ; valuep ; valuep2 ; dty ; indp ; alenp ; rcodep ; maxarr_len ; mode ) -> Résultat | ||||||||
Paramètre | Type | Description | ||||||
stmtp | Entier long |
![]() |
Statement handle | |||||
![]() |
||||||||
bindpp | Entier long |
![]() |
Address of bind handle | |||||
![]() |
||||||||
errhp | Entier long |
![]() |
Error handle | |||||
![]() |
||||||||
position | Entier long |
![]() |
Specifies placeholder attributes | |||||
valuep | Pointeur |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
valuep2 | Pointeur |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
dty | Entier long |
![]() |
Datatype of value(s) being bound | |||||
indp | Pointeur |
![]() |
Indicator variable or array | |||||
![]() |
||||||||
alenp | Pointeur |
![]() |
Array of actual lengths of array elements | |||||
![]() |
||||||||
rcodep | Pointeur |
![]() |
Array of column-level return codes | |||||
maxarr_len | Entier long |
![]() |
Maximum array length parameter | |||||
mode | Entier long |
![]() |
Specifies mode of operation | |||||
Résultat |
![]() |
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.
Produit : 4D
Thème : Relational Commands
Numéro :
705234
4D for OCI ( 4D v20)