constants group KeyType in module com::sun::star::sdbcx::

(Global Index)

Syntax

constants group KeyType;

Description

determines the type of a key.

Constants Summary

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.

Field Details



PRIMARY

Syntax

const long  PRIMARY = 1;

Description

indicates that the key is the primary key of a table.


UNIQUE

Syntax

const long  UNIQUE = 2;

Description

indicates that the key is unique, NULL values are allowed.


FOREIGN

Syntax

const long  FOREIGN = 3;

Description

indicates that the key is a foreign key of a table.

Top of Page