on 04-16-2013 6:54 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrew, I tried your suggestion but got the same error. In Microstrategy we were able to get some of the bad characters to work by choosing a setting at the application level. We choose NON UTF8 setting and it worked for some extended ASCII characters such as 2013 EN DASH. However true unicode characters like U+2446D still do not work in microstrategy windows desktop client. But we've discovered since that the web version of microstrategy does support unicode and is working for all characters. As far as using excel, I have not gotten any of these characters to work, however I was just using it for testing purposes.
Thanks for your comments!
-Patrick
In regards to Excel.
You might try what Tomas is suggesting in this this thread:
http://scn.sap.com/thread/2066796
Good Luck!
Andy
Hi Patrick,
I have the same error. Did you resolved the problem ???
Thanks,
Jihen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.