You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$stmt = "SELECT USR_E_NM FROM USR WHERE USR_ID='".$user_id."'";
$res = Database::getConnection()->Execute($stmt);
return $res->fields['USR_E_NM'];
For example inside this code snippet when trying to fetch USR_E_NM php throws an error saying the index doesn't exist
when printing the $res->fields the field name is shown in lower case as usr_e_nm instead of USR_E_NM
This issue was not present in the version 5.20.17
mnewnham
changed the title
DB2 Column names Lower Case
db2: Changing ADOB_ASSOC_CASE has no effect on column name casing
Apr 8, 2021
mnewnham
changed the title
db2: Changing ADOB_ASSOC_CASE has no effect on column name casing
db2: Changing ADODB_ASSOC_CASE has no effect on column name casing
Apr 8, 2021
Sorry to bump an old discussion, but I haven't been able to find information about ADOdb's release schedule and I'd love to be able to stop patching vendor/adodb/adodb-php/drivers/adodb-db2.inc.php after every composer install 😄
Is there any chance #722 could be merged as a hotfix while other 5.21.1 issues are pending? 🙏
I apologize for the delay on this, unfortunately @dregad ,who is responsible for the releases, is offline at the moment and I don't have the necessary tools to build the release.
When trying to fetch columns in DB2 database with the 5.21.0 driver.
The column names are returned in lower case instead of upper case with no way to change it.
The text was updated successfully, but these errors were encountered: