Adding Columns to a Table in SQL Developer Data Modeler: Honor Column Order?

thatjeffsmith SQL Developer 0 Comments

I have an employees table. Because it’s 1984, HR has decided we need to know Twitter handles, Facebook pages, and who knows what else. So let’s add it to our table. The dialog by default puts new columns at the bottom of the table. We’ll see why in just a moment. On a side note, we’re not super fond of …

30 SQL Developer Tips in 30 Days, Day 10: Compare Stuff Side By Side

thatjeffsmith SQL Developer 2 Comments

We try to make comparing things easy to do. When you’re troubleshooting, you frequently need to know why A isn’t quite like B. So let’s look at a few scenarios. Execution Plans or Autotrace Runs Run a plan or autotrace. Pin it. Run another. Right-click on one, and compare with the other. Voila. Looking at Objects, Side By Side So …

How to Synch your Oracle SQL Developer Data Model to a Different Database

thatjeffsmith SQL Developer 5 Comments

First a couple of quick notes: You can synchronize your model or your database and generate an ALTER script When you import one or more objects from a data dictionary to your model, it ties that model to that particular database So the challenge presnted is: who do I compare my model against a different database and generate an ALTER …

Synching your Oracle SQL Developer Data Model with the Database

thatjeffsmith SQL Developer 27 Comments

So you’ve been working on your data model, and you’re wondering how far ‘out of whack’ it is with the production or development database instance. Sometimes folks manage to compile changes into the database, bypassing your design process and rules. If you’re wondering how to compare 2 models instead of your model with the database, read this. So your question …

SQL Developer Database Diff – Compare Objects From Multiple Schemas

thatjeffsmith SQL Developer 74 Comments

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. 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 …

Database Diff Enhancements in Oracle SQL Developer v3.2

thatjeffsmith SQL Developer 35 Comments

In the current issue of Oracle Magazine, I have an article that discusses how to copy and compare Oracle objects using Oracle SQL Developer. ‘Make the Easy Move‘ was written using Oracle SQL Developer v3.1. As you know, version 3.2 was released several weeks ago, and one of the significant changes included was an update to the Database Diff feature. …

SQL Developer Quick Tip – Pin Query Result Sets and Plans

thatjeffsmith SQL Developer 6 Comments

It’s very rare that a query is developed in a single take. You start with a framework, and then trim down to the essential elements. Then you start working about sort orders, performance, and formatting. As you develop your SQL, you may want to keep several iterations of the data and their plans available. SQL Developer’s Worksheet allows you to …