:: com :: sun :: star :: sdbcx ::

constants group KeyType
Description
determines the type of a key.
Developers Guide
Database - Key Service

Constants
PRIMARY indicates that the key is the primary key of a table.  
UNIQUE indicates that the key is unique, NULL values are allowed.  
FOREIGN indicates that the key is a foreign key of a table.  
Constants' Details
PRIMARY
const long PRIMARY = 1;
Description
indicates that the key is the primary key of a table.
UNIQUE
const long UNIQUE = 2;
Description
indicates that the key is unique, NULL values are allowed.
FOREIGN
const long FOREIGN = 3;
Description
indicates that the key is a foreign key of a table.
Top of Page