createColumn function

Creates a new column of varying size and precision type.

Syntax
ColumnSchema TableSchema.createColumn(
  String column_name,
  short column_type,
  int column_size,
  int column_scale
) throws ULjException
Parameters
  • column_name   The name of the new column. The specified name must be a valid SQL identifier.

  • column_type   One of the Domain type constants representing a column type with varying size and scale (NUMERIC).

  • column_size   The size of column.

  • column_scale   The scale of column.

Remarks

If the column type is fixed, the size or scale is ignored.

See also

Domain interface

Returns

The ColumnSchema assigned to the created column with the specified name and type.