Skip to main content

Set Table Key Columns

Updates the key columns of an in-memory table and rebuilds its index.

Category: Named Tables & Rules Engine · Group: Tables · Activity name: SetTableKeyColumns

The SetTableKeyColumns activity in the designer

Example

outputVariable = SetTableKeyColumns("<tableName>", {})

Inputs

NameTypeRequiredDefaultDescription
Table NamestringYesName of the in-memory table.
Key ColumnsjsonYesNew key column names (e.g., ["CapId", "Term"]).

Outputs

NameTypeDescription
outputVariablejsonStores result (tableName, keyColumns).