[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/inc/adodb/datadict/ -> datadict-mssql.inc.php (sommaire)

(pas de description)

Poids: 285 lignes (8 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ADODB2_mssql:: (9 méthodes):
  MetaType()
  ActualType()
  AddColumnSQL()
  _get_default_name()
  AlterColumnSQL()
  DropColumnSQL()
  _CreateSuffix()
  _IndexSQL()
  _GetSize()


Classe: ADODB2_mssql  - X-Ref

MetaType($t,$len=-1,$fieldobj=false)   X-Ref
Pas de description

ActualType($meta)   X-Ref
Pas de description

AddColumnSQL($tabname, $flds)   X-Ref
Pas de description

_get_default_name($tabname,$colname)   X-Ref
query the name of a default constrain

param: string $tabname table-name
param: string $colname column-name
return: boolean/string name of the default constrain or false if there's none

AlterColumnSQL($tabname, $flds, $tableflds='',$tableoptions='')   X-Ref
Change the definition of one column

Reimplemented because MSSQL need a different handling for DEFAULT, it cant be in an ALTER COLUMN

param: string $tabname table-name
param: string $flds column-name and type for the changed column
param: string $tableflds='' complete defintion of the new table, eg. for postgres, default ''
param: array/string $tableoptions='' options for the new table see CreateTableSQL, default ''
return: array with SQL strings

DropColumnSQL($tabname, $flds)   X-Ref
Pas de description

_CreateSuffix($fname,$ftype,$fnotnull,$fdefault,$fautoinc,$fconstraint)   X-Ref
Pas de description

_IndexSQL($idxname, $tabname, $flds, $idxoptions)   X-Ref
Pas de description

_GetSize($ftype, $ty, $fsize, $fprec)   X-Ref
Pas de description



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7