on 2021 Jan 26 3:37 PM
I have installed HANA Express Edition on a Windows 10 PC which I am accessing via a PHP application. I have created several tables in several database, but when I insert data with text in lower case it is being returned in uppercase when I read it back. When I look at the same data using Eclipse Hana Tools the text is shown in the same case as it was entered. Eclipse uses a JDBC connector while PHP uses the ODBC driver, so I am wondering whether there is a problem with the ODBC driver or the php_odb.dll library.
My ODBC driver version is 2.06.64.28100 and my PHP version is 7.4.14
Request clarification before answering.
It is not the identifier which is uppercased, it is the value for that identifier. In order to force all searches on text fields to be case insensitive I am using SET SESSION 'CASE_SENSITIVE'='FALSE' on each connection. Unfortunately I have discovered that, unlike all the other DBMS engines, SAP HANA can only perform a case-insensitive search by upshifting all the values before the comparison. This means that the value in the database may contain lower-case characters in the database they are all upshifted by the time they appear in the result set. What a bummer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
30 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.