Setting up constraints for your database

 

You can use physical file constraints to control data integrity in your database. You can add constraints using the Add Physical File Constraint (ADDPFCST) command or iSeriesā„¢ Navigator.

To add a physical file constraint, use the ADDPFCST command.

You can also add constraints using iSeries Navigator. See the following topics in the SQL programming topic:

You can also add constraints when using the SQL CREATE TABLE and ALTER TABLE statements.

 

Rules for setting up constraints

Here is a list of rules that apply to all physical file constraints.

 

Parent topic:

Controlling the integrity of your database with constraints

Related concepts
SQL reference SQL programming Getting started with iSeries Navigator

Related reference
Add Physical File Constraint (ADDPFCST) command CREATE TABLE ALTER TABLE