Character C type to Period SQL types
The source data must be in the format described in Table 44.
The driver also supports the use of ODBC escape sequences occurring in the character string representation of the period value.
Binary C type to Period SQL
The source data must be in the format described in Table 45.
An application can provide its own value for the precision of the period source data by setting the SQL_DESC_PRECISION field of the application descriptor. The default precision for the source data is the same as the precision of the target as indicated in the DecimalDigits argument to SQLBindParameter. For example, a value of 14250000 in the Second field and DecimalDigits=2 would allow the value to be inserted into a PERIOD(TIME(2)).
The ColumSize argument to SQLBindParameter is ignored for Period data types.