Ever wonder why Database Diff isn’t called Schema Diff? One reason is because SQL Developer actually allows you to select objects from more than one schema in the ‘Source’ connection for compares.

Simply use the ‘More’ dialog view and select as many tables from as many different schemas as you require
Now, before you get around to testing this – as you should never believe what I say, trust but verify – two things you need to know:
- I’m using SQL Developer version 3.2
- On the initial screen you need to use the ‘Maintain’ option
Maintain tells SQL Developer to use the schema designation in the source connection to find the same corresponding object in the destination schema.

Choose ‘maintain’ if you want to compare objects in the same schema in the destination but don’t have the user login for that schema.
So after you’ve selected your databases, your diff preferences, and your objects – you’re ready to perform the compare and review your results.
The DIFF Report

Notice the highlighted text, SQL Developer is ‘maintaining’ the Schema context from the two databases.
Short and sweet. That’s pretty much all there is to doing a compare with SQL Developer with multiple schemas involved.
You may have noticed in some posts lately that my editor screenshots had a ‘green screen’ look and feel to them.
What’s with the black background in your editors?
In the SQL Developer preferences, you can set your editor color schemes.
I started with the ‘Twilight’ scheme (team Jacob in case you’re wondering) and then customized it further by going with a default green font color. You could go pretty crazy in here, and I’m assuming 90% of you could care less and will just stick with the original. But for those of you who are particular about your IDE styling – go crazy!


Twitter
RSS
GooglePlus
Facebook
Sep 27, 2012 @ 08:55:31
This is nice. I will be great if there was an option to connect to target schema as one user and run diff against object owned by another user, which is typical scenario for production access
Sep 27, 2012 @ 10:31:24
Agreed. We’re looking to make improvements in this area, both in the UI and the underlying engine. It’s obviously an important feature and we’re committed to ‘getting it right.’
Thanks for the feedback AM!
Apr 25, 2013 @ 14:03:57
I agree. When trying to do a diff against objects that I don’t have direct connection to but when I use the Other Users option and can see the objects would be nice. Just wondering if you are working on this yet and when we can expect it?
Nov 27, 2012 @ 12:05:58
db comparison doesn’t support TimesTen? I only can see oracle connections in the drop down list.
Nov 27, 2012 @ 12:17:20
The database comparison is happening via some Oracle PL/SQL packages, so yes, it’s only supported for Oracle Database compares.
Dec 27, 2012 @ 10:25:14
I must be missing something really simple. Because for the life of me, I can’t find anywhere to change the overall background color in the prefs. All I seem to be able to change is the background color behind text. When working with Twighlight, for example, the background color remains black, other than behind the text I’ve changed.
Dec 28, 2012 @ 09:22:01
What do you mean by overall John? Could you do up a screenshot? I think that would clear things up for me.
Jan 11, 2013 @ 15:53:11
Sorry for the SLOW reply, Jeff! Take a look at the dark gray background behind text, but the black background overall. Can’t figure how to get that black to also become dark gray…
https://plus.google.com/photos/100434438098942963048/albums/5832294952419403825/5832294954664512578
Jan 14, 2013 @ 09:10:03
Ahhh, now I get it.
I don’t see a way at first and second glance to achieve that effect.