|
|
|
|
Re: Primary key index not working proper after import [message #379331 is a reply to message #379252] |
Tue, 06 January 2009 02:02 |
michael_bialik
Messages: 621 Registered: July 2006
|
Senior Member |
|
|
It may happen when:
1. You defined multicolumn PK without assigning a name to it (Oracle assigns SYS_Cxxx).
2. You defined an index with the same columns as PK but in different order.
In that case when you import your definition the index to support PK is NOT created and Oracle uses the existing index to verify uniqueness (it's Oracle "feature" since 8.0.3).
I recommend to create an index with the same columns as PK and in the same order.
HTH.
|
|
|