

Public Member Functions | |
| MetaType ($t, $len=-1, $fieldobj=false) | |
| ActualType ($meta) | |
| AddColumnSQL ($tabname, $flds) | |
| DropColumnSQL ($tabname, $flds) | |
| _CreateSuffix ($fname, $ftype, $fnotnull, $fdefault, $fautoinc, $fconstraint) | |
| _IndexSQL ($idxname, $tabname, $flds, $idxoptions) | |
| _GetSize ($ftype, $ty, $fsize, $fprec) | |
Public Attributes | |
| $databaseType = 'mssql' | |
| $dropIndex = 'DROP INDEX %2$s.%1$s' | |
| $renameTable = "EXEC sp_rename '%s','%s'" | |
| $renameColumn = "EXEC sp_rename '%s.%s','%s'" | |
| $typeX = 'TEXT' | |
| $typeXL = 'TEXT' | |
Definition at line 44 of file datadict-mssql.inc.php.
| ADODB2_mssql::ActualType | ( | $ | meta | ) |
Returns the actual type given a character code.
C: varchar X: CLOB (character large object) or largest varchar size if CLOB is not supported C2: Multibyte varchar X2: Multibyte CLOB
B: BLOB (binary large object)
D: Date T: Date-time L: Integer field suitable for storing booleans (0 or 1) I: Integer F: Floating point number N: Numeric or decimal number
Reimplemented from ADODB_DataDict.
Definition at line 79 of file datadict-mssql.inc.php.
| ADODB2_mssql::_GetSize | ( | $ | ftype, | |
| $ | ty, | |||
| $ | fsize, | |||
| $ | fprec | |||
| ) |
GENERATE THE SIZE PART OF THE DATATYPE $ftype is the actual type $ty is the type defined originally in the DDL
Reimplemented from ADODB_DataDict.
Definition at line 268 of file datadict-mssql.inc.php.