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.

How to generate ALTER DDL script from Relational Model

MarianoDJan 2 2017 — edited Jan 3 2017

Hi, have created my relational model from scratch using SQL Developer Data Modeler v 4.1.5, then have generated the DDL scripts and run those against the development database without any problem. Model and DB are in synch. Now I would like to add/change attributes of a particular table, therefore opened the Relational model and make the necessary changes but I am willing to generate the corresponding ALTER TABLE script. Have tried the option "Synchronize Data Dictionary Model" but does not recognize the tables already created on the database therefore it only generates the full CREATE script.

Have tried importing a data model from the DB, adding a new attribute to the table and then perform "Synchronize Data Dictionary Model". I was able to generate the ALTER table script. But it is not my current scenario. My Relational Model is not tight to a DB. How can I make it work?

Regards,

Mariano

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 31 2017
Added on Jan 2 2017
2 comments
1,883 views