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

 

COLUMN_DEFAULT_GLOBAL_AUTOINC variable

Specifies the column is global auto incrementing.

Syntax
final byte ColumnSchema.COLUMN_DEFAULT_GLOBAL_AUTOINC
Remarks

This constant is similar to AUTOINCREMENT, but the domain is partitioned. Each partition contains the same number of values. You must assign each copy of the database a unique global database identification number. UltraLiteJ supplies default values in a database from the partition uniquely identified by that database's number.

The default value of existing tables can be determined by querying the system table TableSchema.SYS_COLUMNS's column_default column.

See also