Enhancement Request : Compare Tool Database/File

orca777

Member³
Hi, would it be nice if it would possible to compare for example a stored procedure in the db with the File on disk of the same object?
This compara functionalitiy should be started from the objects browser via 'Compare to ...' which open the file to compare

Orca
 
That is indeed a nice idea. It is even relatively easy to create a Plug-In for this that saves the database source in a temporary file, asks for the file to compare, and launches ExamDiff utility that comes with PL/SQL Developer.
 
Right now I have some time on my hands (just spent the day getting around a line length limitation in Scale plug-in), so I could give it a go.
 
Actually, that would be nice. The compare user objects tool just hangs when I open it and it always has. I think that it's gathering all objects in the schema or something until my PC runs out of memory - kind of a bummer. I've been waiting for it to work for a long time.

If we could just select one object in the browser and compare that with another database - that would work!
 
It happens when I open it - select Tools/Compare User Objects... and that's as far as I get. It will just hang until the PC runs out of memory.
 
Would it be possible to choose the schema and DB to compare?
In our environment the objects on the test DB reside in a separate schema (same schema name as production DB) so the compare tool is useless for developers as it only allows comparison of your current schema to another DB. Currently, our only way to compare code is to save both versions to local files and run a 3rd-party app for comparison.
 
You can compare any 2 schema's, if you have the password. Connect as one in PL/SQL Developer, and compare to the other.
 
Any plans to change this to allow the schema to be specified separately ?
We have a configuration where the production passwords are not known to developers, so we can't log on to the schema owner.

There was a post from Feb last year saying that this change was on the enhancement list - is it likely to go ahead ?
 
We'll definitely look into this for 6.0 and implement it if it's not too difficult (which I can't imagine).
 
Yes, indeed
we have often in production a read only user which can read all the app-tables but also the complete data dictionary.
So it would be fine to spilt the compare-target-schema from the target database connection
carl
 
Had anybody completed a tool to compare packages in database with files? Just yesterday I had to compare more than 20 packages in database with files in Source Safe to verify that they are identical. I had to manually save packages to files in temporary directory and compare them one by one with the files from Source Safe.
I should be automated long time ago really.
 
Back
Top