Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

(no description)

File Size: 369 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ADODB2_mssqlnative:: (9 methods):
  MetaType()
  ActualType()
  AddColumnSQL()
  DefaultConstraintname()
  AlterColumnSQL()
  DropColumnSQL()
  _CreateSuffix()
  _IndexSQL()
  _GetSize()


Class: ADODB2_mssqlnative  - X-Ref

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

ActualType($meta)   X-Ref
No description

AddColumnSQL($tabname, $flds)   X-Ref
No description

DefaultConstraintname($tabname, $colname)   X-Ref
No description

AlterColumnSQL($tabname, $flds, $tableflds='',$tableoptions='')   X-Ref
No description

DropColumnSQL($tabname, $flds, $tableflds='',$tableoptions='')   X-Ref
Drop a column, syntax is ALTER TABLE table DROP COLUMN column,column

param: string   $tabname      Table Name
param: string[] $flds         One, or an array of Fields To Drop
param: string   $tableflds    Throwaway value to make the function match the parent
param: string   $tableoptions Throway value to make the function match the parent
return: string  The SQL necessary to drop the column

_CreateSuffix($fname,&$ftype,$fnotnull,$fdefault,$fautoinc,$fconstraint,$funsigned)   X-Ref
No description

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

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