Skip to content

DF_DRIVER_MAP_DFDATETIME_TO_ODBCTYPE

Determines which ODBC data type the DataFlex DateTime data type is mapped to.

Level

Database

Supported by

DataFlex ODBC Driver, revision 6 and higher.

Type

Integer, temporary

Access

Read/Write

Values

{DataType} must be a string constant or variable and can be one of:

  • "datetime2"
  • "datetime"

For all possible types, see the Type Mappings.

Syntax

Use cli.pkg
Get_Attribute DF_DRIVER_MAP_DFDATETIME_TO_ODBCTYPE of {driverNumber} to {StringVariable}
Set_Attribute DF_DRIVER_MAP_DFDATETIME_TO_ODBCTYPE of {driverNumber} to {DataType}

Driver Configuration Keyword

MAP_DFDATETIME_TO_ODBCTYPE

Remarks

For details, see the Type Mappings topic in the Connectivity book.