Skip to Content

Unicode and HDBODBC32 odbc driver

Hi folks,

I have some data inside HANA that appears to be unicode. For example character '2013 EN DASH' which appears as very similar to a normal dash. When I run SQL to retrieve the value I have no problems as HANA is unicode and my value is returned. When I attempt to run exact same SQL against HANA db via Microstrategy or via Excel front end using ODBC driver HDBODBC32 to connect to HANA I get the following error;

General error;-10427 Conversion of parameter/column (3) from data type NVARCHAR to ASCII failed.

My question is whether this or any other ODBC driver can or should be able to handle unicode character conversion?

I have confirmed the character that is the problem is definitely an EN DASH.

Any help is greatly appreciated as always.

Thanks,

-Patrick

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2013 at 08:43 PM

    Patrick,

    I have never used Microstrategy,but I had a similar problem with the ODBC in one of our custom applications. I had to cast the field to the a more appropriate data type. In my case I cast the field as an ALPHANUM.

    Example:

    CAST ("FIELD_DESCRIPTION" as ALPHANUM) as "FIELD_DESCRIPTION"

    http://help.sap.com/hana/html/sqlmain.html

    Regards,

    Andy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2013 at 12:11 PM

    Hi Patrick,

    I have the same error. Did you resolved the problem ???

    Thanks,

    Jihen

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.