Eine Einführung in


Add a constraint to a table.

We can add a constraint
  • a foreign key reference
  • a UNIQUE requirement
  • a CHECK constraint
This is in the SQL standard ALTER TABLE
Execute tidy up code silently
Execute set up code

Specific to DB2
ALTER TABLE documentation.
DB2 seemingly does not permit this operation - any help would be appreciated.