|
Rob,
Was it returning mixed-case column names in PHP that you were after?
If so, DB2_ATTR_CASE is what you want. (see http://php.net/manual/en/function.db2-connect.php)
Passing the DB2_CASE_NATURAL value specifies that column names are returned in natural case.
Passing the DB2_CASE_LOWER value specifies that column names are returned in lower case.
Passing the DB2_CASE_UPPER value specifies that column names are returned in upper case.
UPPER is the default but NATURAL will return column names in their original case.
$conn = db2_connect('mydb', 'myuser', 'mypass', array('DB2_ATTR_CASE' => DB2_CASE_NATURAL));
Alan
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.