Add Primary Key
Add primary key column or constraint
Overview
➡️ Adds a Primary Key (🔑) column, or adds a Primary Key constraint to an existing column. It is necessary to add a Primary Key on one of the columns for the source and receiver tables before doing a calculation. 💡 If the table already has a Primary Key, it will remove the constraint before the operation.
Arguments
Mandatory inputs
pkName— Name of the columnName of the column to be added, or for which the main key constraint will be added. 💡 Primary keys must contain UNIQUE values, and cannot contain NULL values
Type:
StringtableName— Name of the tableName of the table on which a primary key will be added
Type:
String
Output
result— Result output stringThis type of result does not allow the blocks to be linked together.
Type:
String