ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:renamecolumnsql

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
dictionary:renamecolumnsql [2015/12/09 18:49] mnewnhamdictionary:renamecolumnsql [2016/01/13 01:53] – ↷ Links adapted because of a move operation mnewnham
Line 15: Line 15:
 The method ''renameColumnSql()'' creates the SQL statement necessary to rename an existing column name given by ''$oldColumnName'' from an existing table, given by ''$tableName'', to a new name, given by ''$newTableName''. The method ''renameColumnSql()'' creates the SQL statement necessary to rename an existing column name given by ''$oldColumnName'' from an existing table, given by ''$tableName'', to a new name, given by ''$newTableName''.
  
-For [[database:mysql#renamecolumnsql|MySQL]] databases, You must provide the entire column specification, given by ''$columnSpec''. Check the manual page for the driver for more information.+For [[v5:database:mysql#renamecolumnsql|MySQL]] databases, You must provide the entire column specification, given by ''$columnSpec''. Check the manual page for the driver for more information.
  
 In order to actually rename the column, the returned array must be passed to the [[dictionary:executeSqlArray|executeSqlArray()]] method.  In order to actually rename the column, the returned array must be passed to the [[dictionary:executeSqlArray|executeSqlArray()]] method. 
v5/dictionary/renamecolumnsql.txt · Last modified: 2016/01/13 02:06 by mnewnham