Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-155

SQLDescribeCol returns 0 for decimal digits for datetime types with microseconds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.17, 3.0.5
    • Fix Version/s: 3.0.6, 2.0.18
    • Component/s: General
    • Labels:
      None

      Description

      https://docs.microsoft.com/en-us/sql/odbc/reference/appendixes/decimal-digits?view=sql-server-2017 says, that "All datetime types except SQL_TYPE_DATE, and all interval types with a seconds component" it has to be "The number of digits to the right of the decimal point in the seconds part of the value (fractional seconds)"

        Attachments

          Activity

            People

            Assignee:
            Lawrin Lawrin Novitsky
            Reporter:
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: