DB2 Version 9.7 for Linux, UNIX, and Windows

Dropping primary keys

You can use the Control Center or the DROP statement to drop primary keys.

Procedure

Results

When a foreign key constraint is dropped, packages or cached dynamic SQL statements containing the following might be marked as invalid:
  • Statements that insert or update the table containing the foreign key
  • Statements that update or delete the parent table.