Lucee Function Reference

queryrenamecolumn()

Rename a column

Example

queryrenamecolumn(query query,string column,string newColumnName):void

Category

query

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
query query  Yes Name of a query object.  
column string  Yes Name of the column to rename.  
newColumnName string  Yes New name of the column.