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 » ColumnSchema interface

 

setDefault function

Sets the default value for a column.

Syntax
ColumnSchema ColumnSchema.setDefault(
  byte default_code
)
Parameters
  • default_code¬†¬† One of the ColumnSchema codes, constants with the COLUMN_DEFAULT suffix, indicating the type of default value that the column should have.

Remarks

The default is COLUMN_DEFAULT_NONE.

See also
Returns

This ColumnSchema with the default value defined.