Add Column

Dynamically adds a new column to the specified table. The column data type is set through the Type parameter. Supported types: NUMERIC (DateTime), INTEGER (Boolean/Int), REAL (Decimal), TEXT (String).

The column data type can be selected from a dropdown list through the Type parameter.

Supported data types:

  • NUMERIC: Used to add a column of type DateTime.

  • INTEGER: Used to add a column of type Flag (Boolean) or Integer.

  • REAL: Used to add a column of type Decimal.

  • TEXT: Used to add a column of type text (string).


⬅️INPUT

Parameter

Type

Required

Description

LocalDataName

String

✅Yes

Table name

ColumnName

String

✅Yes

New column name

Type

EColumnType

✅Yes

Column type: Text, Numeric, Real, Integer


➡️OUTPUT

Name

Data Type

Description

IsAddLocalDataColumnSuccessful

Boolean

Returns "True" if the operation succeeds, "False" if it fails.

AddLocalDataColumnMessage

String

Returns the error information received if the operation fails.


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error (default: No)