ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


Action unknown: siteexport_addpage
v5:dictionary:gettablecasing

getTableCasing

See Also

setTableCasing()

Syntax From ADOdb 6.0 *
int getTableCasing()
    

* This feature is supported in the IBM DB2 driver from version 5.21.0

Description

getTableCasing() is a helper method that returns the currently set table casing value.

Options

The following options are available

ConstantValueDescription
TABLECASE_LOWER0Table names are converted to lower case
TABLECASE_UPPER1Table names are converted to upper case
TABLECASE_DEFAULT2No case conversion on input table names is performed

The default value is TABLECASE_DEFAULT.

Usage

/*
 * Connection to DB2 database assumed
*/
 
print $db->getTableCasing();
 
/*
 * Prints: 2
 */
v5/dictionary/gettablecasing.txt · Last modified: 2016/01/13 02:06 by mnewnham