ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:altercolumnsql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dictionary:altercolumnsql [2015/09/18 02:27] mnewnhamv5:dictionary:altercolumnsql [2016/01/13 02:06] (current) – ↷ Links adapted because of a move operation mnewnham
Line 6: Line 6:
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
-[[dictionary:column_attributes|Column Attributes Reference]] +[[v5:dictionary:column_attributes|Column Attributes Reference]] 
 == Syntax == == Syntax ==
   array alterColumnSql(   array alterColumnSql(
Line 19: Line 19:
 The method ''alterColumnSql()'' creates the SQL statement necessary to modify an existing column on an existing table, given by ''$tableName'', with the attributes specified in the string ''$columnData''. The column must already exist in the specified table. The method ''alterColumnSql()'' creates the SQL statement necessary to modify an existing column on an existing table, given by ''$tableName'', with the attributes specified in the string ''$columnData''. The column must already exist in the specified table.
  
-The information specified in the ''$columnData'' string must conform to the [[dictionary:column_attributes|Column Attributes]] standard.+The information specified in the ''$columnData'' string must conform to the [[v5:dictionary:column_attributes|Column Attributes]] standard.
  
 ===== Limitations ==== ===== Limitations ====
Line 35: Line 35:
   * Attempting to switch the metaType of a field from say ''C'' to ''I''   * Attempting to switch the metaType of a field from say ''C'' to ''I''
  
-In order to actually modify the column, the returned array must be passed to the [[dictionary:executeSqlArray|executeSqlArray()]] method. +In order to actually modify the column, the returned array must be passed to the [[v5:dictionary:executesqlarray|executeSqlArray()]] method. 
  
 ===== Usage ===== ===== Usage =====
v5/dictionary/altercolumnsql.txt · Last modified: 2016/01/13 02:06 by mnewnham