Skip to content

Teradata ODBC 16.20 - Bug in SQLColumns[W] ? #97

Open

Description

@H-Eilat

I am in a process of elevating a project to 16.20.
There is an existing code that implements metadata queries via ODBC SQLColumn API.
It used to work fine in past TD ODBC versions.
Under TD ODBC 16.20 it fails unconditionally.
The scenario is rather simple.
It is exemplified in the attached code.
An SQLColumn result set for a given table is established correctly.
The 1st fetch goes fine.
The 2nd fetch fails while informing unclear message.
I got the following:
SQLSTATE = '22018' NATIVE ERROR = '40550' Message=[Teradata][Support] (40550) Invalid character value for cast specification.
I think that I got some other exceptions while looking into it on subsequent attempts.
Recall that under past TD ODBC versions this code worked perfectly fine.

Help will be appreciated.

/H
APR_TD_OPR_1_odbc_certification.zip

Activity

  1. zandym commented on May 11, 2018

    @zandym

    I had encountered something similar with v16.20 and was able to resolve it by adding 'charset=utf8' in my connection string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions