Este é o site histórico da documentação 4D. As documentações estão sendo movidas progressivamente para developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
OCIBindDateByPos
|
OCIBindDateByPos ( stmtp ; bindpp ; errhp ; position ; valuep ; valuep2 ; dty ; indp ; alenp ; rcodep ; maxarr_len ; mode ) -> Resultado | ||||||||
Parâmetro | Tipo | Descrição | ||||||
stmtp | Inteiro longo |
![]() |
Statement handle | |||||
![]() |
||||||||
bindpp | Inteiro longo |
![]() |
Address of bind handle | |||||
![]() |
||||||||
errhp | Inteiro longo |
![]() |
Error handle | |||||
![]() |
||||||||
position | Inteiro longo |
![]() |
Specifies placeholder attributes | |||||
valuep | Ponteiro |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
valuep2 | Ponteiro |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
dty | Inteiro longo |
![]() |
Datatype of value(s) being bound | |||||
indp | Ponteiro |
![]() |
Indicator variable or array | |||||
![]() |
||||||||
alenp | Ponteiro |
![]() |
Array of actual lengths of array elements | |||||
![]() |
||||||||
rcodep | Ponteiro |
![]() |
Array of column-level return codes | |||||
maxarr_len | Inteiro longo |
![]() |
Maximum array length parameter | |||||
mode | Inteiro longo |
![]() |
Specifies mode of operation | |||||
Resultado |
![]() |
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.
Produto: 4D
Tema: Relational Commands
Número
705234
4D for OCI ( 4D v19)