Forum Stats

  • 3,815,486 Users
  • 2,259,040 Discussions
  • 7,893,135 Comments

Discussions

Why does SDDM not allow an index to have the same name as a constraint? DB allows that?

Hi

Why does SDDM not allow an index to have the same name as a constraint on the same table?

e.g. Primary key constraint = FND_ITEM_PK. Defining an index with the same name the index gets append with a v1.

When SDDM is set to auto create indexes for constraints when generating DDL it creates the index with the same name and that DDL is accepted by the DB (Oracle).

When that same table is then imported into a design or the design synchronised from the database, the index will be imported but again the "v1" appended to its name.

If the DB allows for an index to have the same name as a constraint, then why different in SDDM?

Thank you & Regards

Answers