Hi,
When Oracle returns the result set, the
field names are all in upper case. However, I have an application that needs to
work on both MSSQL and Oracle. I dont want to keep 2 copies. One has
upper case field names and the other lower case. How could I make PHP or ADODB
to work with
]
Sent: Tuesday, January 27, 2004 2:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Oracle and upper case field name
Hi,
When Oracle returns the result set, the field names are all in upper
case. However, I have an application that needs to work on both MSSQL
and Oracle. I don't want to keep 2 copies
I might try having a common PHP function that converts all field names to
lower case, and call that function with every field name.
Or call each field by column number, $row[1] .
When Oracle returns the result set, the field names are all in upper
case. However, I have an application that
From: Daniel Clark [EMAIL PROTECTED]
I might try having a common PHP function that converts all field names to
lower case, and call that function with every field name.
Or call each field by column number, $row[1] .
Like http://us2.php.net/manual/en/function.array-change-key-case.php ??
Yeah, Looks good to me :-)
Like http://us2.php.net/manual/en/function.array-change-key-case.php ??
When Oracle returns the result set, the field names are all in upper
case. However, I have an application that needs to work on both
MSSQL and Oracle. I don?t want to keep 2 copies. One has