LogoLogo
About
Tables: v2
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
Tables: v2
  • Getting Started
    • Tables Overview
  • Table Creation
    • Create a Table
    • Create a Sample Table
    • Create a Pivot Table
    • Create an Integer Table
    • Create a Table from JSON
    • Create a Table from the Rows
    • Create a Combined Table
    • Create a Merged Table
    • Get a Table from a File
  • Rows
    • Get Row(s)
    • Get Row Count
    • Get Row Number
    • Get Value from Row
    • Group Rows
    • Insert a Row
    • Insert an Empty Row
    • Remove Duplicate Rows
    • Set a Row to JSON
  • Columns
    • Get a Column
    • Get a Column's Values
    • Get a Column Number
    • Get Column Count
    • Get Column Stats
    • Get Column Names
    • Change a Column's Data Type
    • Delete Columns
    • Insert a Column
    • Move a Column
    • Rename a Column
    • Rename Columns
    • Round a Column's Values
    • Update a Column
  • Cells
    • Set a Cell in a Table
  • Conversions
    • Convert CSV to a Table
    • Convert a Table to CSV
    • Convert a Table to Excel
  • Manipulations
    • Clear a Table
    • Combine Tables
    • Copy a Table
    • Extract a Subtable
    • Group a Table
    • Query a Table
    • Sort a Table
    • Split a Table
    • Join Subtables
    • Replace a Value
    • Replace a Value in a Column
    • Transpose a Table
Powered by GitBook
On this page
  • Overview
  • Input Concepts
  • Output Concepts
  • Examples

Was this helpful?

Export as PDF
  1. Columns

Update a Column

Updates a column in a table.

Overview

This procedure updates a column in a table.

Input Concepts

Concept
Type
Description
Default
Required

table

Table

The table that contains the column to be updated

No default

Yes

the column name

Text

The name of the column to be updated.

No default

Yes

the column values

List

The values to update the column with

No default

Either the column values or the column formula must be provided for this procedure. If the row numbers are specified, then the column values is also required.

the column formula

Text

A formula applied to the column

No default

Either the column values or the column formula must be provided for this procedure.

the row numbers

List

The row numbers that apply to the column update

No default

No

the other table

Table

Another table to reference

No default

No

Output Concepts

Concept
Description

table

The table with the column updated.

Examples

In the examples below, the table refers to the following table, which can be generated using the create a sample table procedure:

Name
Number
Address
City

john

+ 1 (415) 691 9426

123 east street

San Francisco

joe

+ 1 (415) 691 1234

321 west street

San Jose

jack

+ 1 (415) 691 4595

213 north street

San Francisco

1. Updating a Column by Specifying the Column Values

update the column in the table where
    the column name is "City"
    the column values are "Mountain View", "Cupertino", "Fremont"
Name
Number
Address
City

john

+ 1 (415) 691 9426

123 east street

Mountain View

joe

+ 1 (415) 691 1234

321 west street

Cupertino

jack

+ 1 (415) 691 4595

213 north street

Fremont

2. Updating a Column by Specifying the Column Values and Row Numbers

update the column in the table where
  the column name is "City"
  the row numbers are 1,2
  the column values are "Dallas"
Name
Number
Address
City

john

+ 1 (415) 691 9426

123 east street

Dallas

joe

+ 1 (415) 691 1234

321 west street

Dallas

jack

+ 1 (415) 691 4595

213 north street

Fremont

In this example, multiple rows (1 & 2) are updated with the same value (Dallas).

Last updated 1 month ago

Was this helpful?