

Public Member Functions | |
| ActualType ($meta) | |
| _CreateSuffix ($fname, $ftype, $fnotnull, $fdefault, $fautoinc, $fconstraint) | |
| AlterColumnSQL ($tabname, $flds) | |
| DropColumnSQL ($tabname, $flds) | |
| ChangeTableSQL ($tablename, $flds, $tableoptions=false) | |
Public Attributes | |
| $databaseType = 'db2' | |
| $seqField = false | |
Definition at line 15 of file datadict-db2.inc.php.
| ADODB2_db2::ChangeTableSQL | ( | $ | tablename, | |
| $ | flds, | |||
| $ | tableoptions = false | |||
| ) |
Allow basic table changes to DB2 databases DB2 will fatally reject changes to non character columns
If the first field of $v is the fieldname, and the second is the field type/size, we assume its an attempt to modify the column size, so check that it is allowed $v can have an indeterminate number of blanks between the fields, so account for that too
Reimplemented from ADODB_DataDict.
Definition at line 74 of file datadict-db2.inc.php.