Source for file datadict-informix.inc.php
Documentation is available at datadict-informix.inc.php
V5.04 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
case 'C':
return 'VARCHAR';// 255
case 'C2':
return 'NVARCHAR';
case 'X2':
return 'TEXT';
case 'T':
return 'DATETIME YEAR TO SECOND';
case 'L':
return 'SMALLINT';
case 'I':
return 'INTEGER';
case 'I1':
return 'SMALLINT';
case 'I2':
return 'SMALLINT';
case 'I4':
return 'INTEGER';
case 'I8':
return 'DECIMAL(20)';
case 'F':
return 'FLOAT';
case 'N':
return 'DECIMAL';
if ($this->debug) ADOConnection::outp("AlterColumnSQL not supported");
if ($this->debug) ADOConnection::outp("DropColumnSQL not supported");
// return string must begin with space
function _CreateSuffix($fname, &$ftype, $fnotnull,$fdefault,$fautoinc,$fconstraint)
if (strlen($fdefault)) $suffix .=
" DEFAULT $fdefault";
if ($fnotnull) $suffix .=
' NOT NULL';
if ($fconstraint) $suffix .=
' '.
$fconstraint;
Documentation generated on Sun, 09 Mar 2008 23:51:29 -0300 by phpDocumentor 1.4.0