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 参考 » ColumnSchema 接口

 

setDefault 方法

设置列的缺省值。

语法
ColumnSchema ColumnSchema.setDefault(
  byte default_code
)
参数
  • default_code   ColumnSchema 代码之一,并且是具有 COLUMN_DEFAULT 后缀的常量,用于指示列应具有的缺省值类型。

注释

缺省值为 COLUMN_DEFAULT_NONE。

另请参见
返回值

已定义了缺省值的 ColumnSchema。