ADODB2_mssql Class Reference

Inheritance diagram for ADODB2_mssql:

Inheritance graph
[legend]
Collaboration diagram for ADODB2_mssql:

Collaboration graph
[legend]

List of all members.

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'


Detailed Description

Definition at line 44 of file datadict-mssql.inc.php.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
This documentation has been generated automatically from TYPO3 source code using Doxygen and is provided as is by Cast Iron Coding as a courtesy to other TYPO3 developers and users. Please consider Cast Iron Coding — a full-service web development agency in Portland, Oregon specializing in TYPO3 extension development — for all of your TYPO3 development and consulting needs!