Rename Columns

Renames columns in a table to new names specified by the user.

Overview

This procedure renames the columns in a table to new names specified by the user.

Input Concepts

Concept
Type
Description
Default
Required

table

table

The table containing the column to be renamed.

No default

Yes

old columns names

strings

The current name of the columns to be renamed.

No default

Yes

new column names

strings

The new names for the columns.

No default

Yes

Examples

1. Rename the Columns

rename the table's columns where
    the old column names are "foo", "bar"
    the new column names are "baz", "qux"

Last updated

Was this helpful?