Contents Index Determining the most recently assigned value Character sets in UltraLite pdf/preface.pdf

UltraLite User's Guide
  Designing UltraLite Applications
    Global autoincrement default column values

Detecting the number of available default values


Default values are chosen from the partition identified by the global database identification number until the maximum value is reached. When this state has been reached or is imminent, you must assign the database a new identification number.

The programming interfaces provide means of obtaining the proportion of numbers that have been used. The return value is a short in the range 0-100 that represents the percent of values used thus far. For example, a value of 99 indicates that very few unused values remain and the database should be assigned a new identification number.

To find out the percent of values used (embedded SQL)

To find out the percent of values used (C++ API)

To find out the percent of values used (Java)


Contents Index Determining the most recently assigned value Character sets in UltraLite pdf/preface.pdf