Обсуждение: SQLDescribeCol not returning correct information for time fields

Поиск
Список
Период
Сортировка

SQLDescribeCol not returning correct information for time fields

От
Scott Ferrett
Дата:
According to
https://msdn.microsoft.com/en-us/library/ms709314%28v=vs.85%29.aspx,
SQLDescribeCol should return "The number of digits to the right of the
decimal point in the seconds part of the value (fractional seconds).
This number cannot be negative." for datetime fields.  The 32bit
PostgreSQL ODBC Driver(ANSI) version 9.05.01.00 always returns 0
regardless of the precision defined for a time or timestamp fields.

Cheers,
  Scott Ferrett