Forum
Hi,
in den Erläuterungen zur zugehörigen DDL findet sich folgendes:
"A unique index entry will automatically be created in the catalog for the columns in the key sequence specified with ascending order for each column. The name of the index will be SQL, followed by a character timestamp (yymmddhhmmssxxx), with SYSIBM as the schema name. An actual index object is not created in storage, because the table organization is ordered by this key. If a primary key or a unique constraint is defined on the same columns as the range-clustered table sequence key, this same index entry is used for the constraint."
Für mich hört sich das so an, dass ein PK erlaubt ist und den bestehenden Index nutzt. Die Fehlermeldung von Katalin Varnai besagt aber, dass der PK ignoriert also nicht angelegt wird. Ist das eine Überinterpretation von mir oder ein Doku-Fehler von DB2?
MfG
AxelP