Drop constraint db2
Summary: in this tutorial, you will learn how to use the Db2 PRIMARY KEY constraint to define a primary key for a table. Db2 primary key overview. A primary key of a table is a column or group of columns whose values uniquely identify every row in the table. Each table has one and only one primary key. A primary key is optional.