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 revision
Previous revision
Last revisionBoth sides next revision
dictionary:renamecolumnsql [2015/12/09 18:49] mnewnhamv5:dictionary:renamecolumnsql [2016/01/13 02:06] – ↷ Page moved from dictionary:renamecolumnsql to v5:dictionary:renamecolumnsql 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