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

SQL Anywhere 11.0.1 (Français) » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » TableSchema interface

 

createColumn method

Creates a new column of varying size type.

Syntax
ColumnSchema TableSchema.createColumn(
  String column_name,
  short column_type,
  int column_size
) 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 (BINARY, NUMERIC, VARCHAR).

  • column_size   The size of column.

Remarks

If the column type is of fixed size, the size is ignored.

See also

Domain interface

Returns

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