int getTableCasing()
* This feature is supported in the IBM DB2 driver from version 5.21.0
getTableCasing()
is a helper method that returns the currently set table casing value.
The following options are available
Constant | Value | Description |
---|---|---|
TABLECASE_LOWER | 0 | Table names are converted to lower case |
TABLECASE_UPPER | 1 | Table names are converted to upper case |
TABLECASE_DEFAULT | 2 | No case conversion on input table names is performed |
The default value is TABLECASE_DEFAULT.
/* * Connection to DB2 database assumed */ print $db->getTableCasing(); /* * Prints: 2 */