I Tried a few options to generate DDL from oracle database using SQL Developer and none of them fit the purpose.
The Quick DDL option results in DDL without Foreign Key constraints. I do like the format
The Edit on table results in DDL including storage and loggings which I cannot get rid of.
Just wondering anyone have better way of generating DDL using SQL Developer?
Thanks
The Quick DDL doesn't use any sort of preferences, it does it by what we think is appropriate - which is totally subjective of course.
However, if you go to the SQL page for an object in the tree, the DDL will be generated following the preferences set in Preferences > Database > Export.
For version 4.2, you can also use the DDL command in the worksheet. And you can use SET DDL to turn off or on the type of DDL you want generated.