Compare User Objects.

admin

Administrator
Staff member
Is it possible to have an option to ignore certain characters like whitespaces, quotations, etc. in "Compare User Objects"?

Thanks.
Andrew
 
Are you going to add that feature to the upcoming version 8?
So far I cannot find it in PL/SQL Developer 8 Beta.

Thanks.
Andrew
 
This has not yet been added in 8.0 (though it does implicitly ignore quotes in object names). It's still on the list though.
 
So can we expect "Ignore Quotes in Object Name" (related to Oracle Data Pump import) in Compare User Objects in PSD version 9? I am not sure if it has been already included in beta or not...

Thanks.
 
Yes, both are added in 9.0. Quotes are ignored when the "Ignore white space" option is enabled, and case is ignored when the "Ignore case" option is enabled on the "Options" tab page.
 
>>>>>>>>>>>>>>>>>>>>>
Yes, both are added in 9.0. Quotes are ignored when the "Ignore white space" option is enabled, and case is ignored when the "Ignore case" option is enabled on the "Options" tab page.
>>>>>>>>>>>>>>>>>>>>
Apparently quotes are not ignored when option "Ignore white space in PL/SQL code" is enabled in "Options" tab in PL/SQL Developer 9. For example lines:
CREATE OR REPLACE FUNCTION "AGE2DATE" (dBirth IN DATE,nAge IN NUMBER) RETURN DATE AS
and
CREATE OR REPLACE FUNCTION Age2Date(dBirth IN DATE,nAge IN NUMBER) RETURN DATE AS
show differences for double quotes in line 1. They should be reported as identical.

 
It looks like it works partially. It works for Packages. However, it does not work for Functions and Procedures - please see my previous reply with function definition as a sample. Even with all 3 options checked, i.e. "Ignore case...", "Ignore whitespace...", "Ignore comments..." in "Compare User Objects" - it still does not work for functions and procedures as expected.

Regards,
 
I literally tried your Age2Date example and it works fine. Note that if there are other differences in the function, the ExamDiff difference viewer that is packaged with PL/SQL Developer cannot ignore quotes or comments. It can only ignore case and white space.
 
Back
Top