Skip to Main Content

SQL Developer Data Modeler

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

HansJKDec 11 2020

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

Comments

Post Details

Added on Dec 11 2020
1 comment
168 views