1.0

Table Of Contents
Table 17: SYSCONSTRAINTS system table
ContentsNullableLengthTypeColumn Name
Unique identier for constraintfalse36CHARCONSTRAINTID
Identier for table (join with
SYSTABLES.TABLEID)
false36CHARTABLEID
Constraint name (internally
generated if not specied by
user)
false128VARCHARCONSTRAINTNAME
'P' (primary key), 'U' (unique),
'C' (check), or 'F' (foreign key)
false1CHARTYPE
Identier for schema that the
constraint belongs to (join with
SYSSCHEMAS.SCHEMAID)
false36CHARSCHEMAID
'E' for enabled, 'D' for disabledfalse1CHARSTATE
The count of the number of
foreign key constraints that
false10INTEGERREFERENCECOUNT
reference this constraint; this
number can be greater than zero
only for PRIMARY KEY and
UNIQUE constraints
SYSDEPENDS system table
The SYSDEPENDS table stores the dependency relationships between persistent objects in the database.
Persistent objects can be dependents or providers. Dependents are objects that depend on other objects. Providers
are objects that other objects depend on.
Dependents are views, constraints, or triggers.
Providers are tables, conglomerates, constraints, or privileges.
The following table shows the contents of the SYSDEPENDS system table.
Table 18: SYSDEPENDS system table
ContentsNullableLengthTypeColumn Name
A unique identier for the
dependent
false36CHARDEPENDENTID
A system type that describes the
view, constraint, or trigger that
is the dependent
false2,147,483,647org.apache.derby. catalog.
DependableFinder
This class is not part of the
public API.
DEPENDENTFINDER
A unique identier for the
provider
false36CHARPROVIDERID
vFabric SQLFire User's Guide614
vFabric SQLFire Reference