Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

(no description)

File Size: 374 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,$options=false)   X-Ref
No description