Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20
OCIBindDateByName
|
OCIBindDateByName ( stmtp ; bindpp ; errhp ; placeholder ; valuep ; valuep2 ; dty ; indp ; alenp ; rcodep ; maxarr_len ; mode ) -> Funktionsergebnis | ||||||||
Parameter | Typ | Beschreibung | ||||||
stmtp | Lange Ganzzahl |
![]() |
Statement handle | |||||
![]() |
||||||||
bindpp | Lange Ganzzahl |
![]() |
Address of bind handle | |||||
![]() |
||||||||
errhp | Lange Ganzzahl |
![]() |
Error handle | |||||
![]() |
||||||||
placeholder | String |
![]() |
Name of placeholder | |||||
valuep | Zeiger |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
valuep2 | Zeiger |
![]() |
Address of data value(s) of type specified in dty parameter | |||||
![]() |
||||||||
dty | Lange Ganzzahl |
![]() |
Datatype of value(s) being bound | |||||
indp | Zeiger |
![]() |
Indicator variable or array | |||||
![]() |
||||||||
alenp | Zeiger |
![]() |
Array of actual lengths of array elements | |||||
![]() |
||||||||
rcodep | Zeiger |
![]() |
Array of column-level return codes | |||||
maxarr_len | Lange Ganzzahl |
![]() |
Maximum array length parameter | |||||
mode | Lange Ganzzahl |
![]() |
Specifies mode of operation | |||||
Funktionsergebnis | Lange Ganzzahl |
![]() |
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.
Produkt: 4D
Thema: Relational Commands
Nummer:
705235
4D for OCI ( 4D v20)