Hi,
I have created DDL script from a model, used this to create a db then REd the resulting db.
If I do a model compare immediately after the RE I get differences in Column Default Values, View, Procedure, Function and Package SQL parts.
If I close the REd model, reopen it and repeat the compare the Default Values and View SQL differences are no longer shown. Procedure, Function and Package are.
The Default differences are due to trailing SPACE or NL.
Copying and pasting the view SQL into files and using a file compare tool shows no differences. I think this will be a NL type issue.
I’m still looking at Procs, Funcs and Packs.
thanks for the details. I'm happy to inform you that this problem was fixed yesterday (45 866).
RE must be an accurate representation of database content.
Just a note from our devs: Sometimes it is not possible to keep it perfectly accurate as some things are being parsed and some are being linked (e.g. in views).
I realise that the REd code will never be 100% the same as the code that created the database. However the closer you can get the better.
Regards
Malcolm
As you would probably expect, the default value issue mentioned in the initial post also manifests itself if you generate DDL immediately after RE
Malcolm
It would also be helpful to be able to ignore changes in object position/size. For example when comparing to create an alter script, if the object have moved slightly it is difficult to check which items have changed when all objects have moved slightly.
Please open the Comparator dialog and click the tab Settings where OTPs are available.
Expand the Workspaces item and try to clear appropriate checkboxes - e.g. Font Size, Top, Left etc. (under Shape List).