Este es el sitio web histórico de la documentación de 4D. La documentación se está trasladando progresivamente a developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20
OCIBindDateByName
|
OCIBindDateByName ( stmtp ; bindpp ; errhp ; placeholder ; valuep ; valuep2 ; dty ; indp ; alenp ; rcodep ; maxarr_len ; mode ) -> Resultado | ||||||||
Parámetro | Tipo | Descripción | ||||||
stmtp | Entero largo |
![]() |
Statement handle | |||||
![]() |
||||||||
bindpp | Entero largo |
![]() |
Address of bind handle | |||||
![]() |
||||||||
errhp | Entero largo |
![]() |
Error handle | |||||
![]() |
||||||||
placeholder | Cadena |
![]() |
Name of placeholder | |||||
valuep | Puntero |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
valuep2 | Puntero |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
dty | Entero largo |
![]() |
Datatype of value(s) being bound | |||||
indp | Puntero |
![]() |
Indicator variable or array | |||||
![]() |
||||||||
alenp | Puntero |
![]() |
Array of actual lengths of array elements | |||||
![]() |
||||||||
rcodep | Puntero |
![]() |
Array of column-level return codes | |||||
maxarr_len | Entero largo |
![]() |
Maximum array length parameter | |||||
mode | Entero largo |
![]() |
Specifies mode of operation | |||||
Resultado | Entero largo |
![]() |
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.
Producto: 4D
Tema: Relational Commands
Número
705235
4D for OCI ( 4D v20)