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

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ API 参考 » TableSchema 接口

 

createColumn 方法

创建具有固定大小类型的新列。

语法
ColumnSchema TableSchema.createColumn(
  String column_name,
  short column_type
) throws ULjException
参数
  • column_name   新列的名称。所指定的名称必须是有效的 SQL 标识符。

  • column_type   表示固定大小列类型的一个域类型常量。

另请参见

Domain 接口

返回值

用于使用指定名称和类型创建列的 ColumnSchema。