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
|
|
Syntax
const long PRIMARY = 1;
Description
indicates that the key is the primary key of a table.
Syntax
const long UNIQUE = 2;
Description
indicates that the key is unique, NULL values are allowed.
Syntax
const long FOREIGN = 3;
Description
indicates that the key is a foreign key of a table.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.