Class Definition Reference
Specifies whether this property corresponds to the identity column in the corresponding SQL table. Applies to persistent classes.
To specify that this property corresponds to the identity column in the corresponding SQL table, use the following syntax:
Property name As %Integer [ Identity ];
Otherwise, omit this keyword or place the word Not
immediately before the keyword.
For a persistent object, this keyword specifies that a property corresponds to an identity column in the corresponding SQL table (that is, a column that is marked with the SQL IDENTITY keyword). This keyword is useful particularly for tables that are created through DDL statements. When creating a table using DDL, make sure that any IDENTITY field is defined with MINVAL=1
, if possible, to allow the creation of a bitmap extent index. See “CREATE TABLE
” in the InterSystems SQL Reference
If you omit this keyword, this property is not used as the identity column.
Content Date/Time: 2019-04-10 14:45:57