Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » TableSchema interface


createColumn function

Creates a new column of varying size and precision type.

ColumnSchema TableSchema.createColumn(
  String column_name,
  short column_type,
  int column_size,
  int column_scale
) throws ULjException
  • 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.


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

See also

Domain interface


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