Skip to content

TSTool / Command / RenameTableColumns


Overview

The RenameTableColumns command renames table columns.

Command Editor

The command is available in the following TSTool menu:

  • Commands(Table) / Manipulate Table Values

The following dialog is used to edit the command and illustrates the syntax of the command

RenameTableColumns command editor

RenameTableColumns Command Editor (see full-size image)

Command Syntax

The command syntax is as follows:

RenameTableColumns(Parameter="Value",...)

Command Parameters

Parameter&inbsp;                                  Description Default                
TableID
required
The identifier for the table to be modified. Can be specified using ${Property}. None – must be specified.
ColumnMap
required
Map of column old and new names, can use ${Property}, syntax:
OriginalColumnName1:NewColumnName1, OriginalColumnName2:NewColumnName2
None - must be specified.

Examples

See the automated tests.

Troubleshooting

See the main TSTool Troubleshooting documentation.

See Also