Being a short week due to the holiday, and with everyone enjoying their Summer vacations (apologies Southern Hemispherians), I reckoned it was a great time to do one of those lazy recap-Top 10-Reader’s Digest type posts.
I’ve been sharing 1-3 tips or ‘tricks’ a week since I started blogging about SQL Developer, and I have more than enough content to write a book. But since I’m lazy, I’m just going to compile a list of my favorite ‘must know’ tips instead. I always have to leave out a few tips when I do my presentations, so now I can refer back to this list to make sure I’m not forgetting anything.
So without further ado…
1. Configure Your Preferences
Yes, there are a LOT of options. But you don’t need to worry about all of them just yet. I do recommend you take a quick look at these ones in particular. Whether you’re new to the tool or have been using it for 5 years, don’t overlook these settings!
2. Disable Extensions You Aren’t Using
If you’re not using Data Miner, or if you’re not working on a Migration – disable those extensions! SQL Developer will run leaner & meaner, plus the user interface will be a bit more simplified making the tool easier to navigate as well.
3. SQL Recall via Keyboard
Cycle through your recent SQL statements just using these magic key strokes! Ctrl+Up or Ctrl+Down.4. Format Your Query Output Directly to CSV, XML, HTML, etc
Too lazy to run the Export wizard for your query result sets? Just add the SQL Developer output hints to your statement and have the output auto-magically formatted to the style of your choice!5. Drag & Drop Multiple Tables to the Worksheet
SQL Developer will auto-join the related objects. You can then toggle over to the Query Builder to toggle off the columns you don’t want to query. I guarantee this tip will save you time if you’re joining 3 or more tables!
6. Drag & Drop Multiple Tables to a Relational Model
SQL Developer does data modeling! If you ctrl-drag a table to a model, it will take that table and any related tables and reverse engineer them to a relational model! You can then print it out or export it to HTML, PDF, etc.7. View Your PL/SQL Execution Output Automatically
Function returns a refcursor? Procedure had 3 out parameters? When you run these programs via the Procedure Editor, we automatically capture the output and place them into one or more data grids for you to browse.
8. Disable Automatic Code Insight and Use It On-Demand
Some folks really don’t like it when their IDEs or word-processors try to do ‘too much’ for them. Thankfully SQL Developer allows you to either increase the delay before it attempts to auto-complete your text OR to disable the automatic bit. Instead, you can invoke it on-demand.9. Interactive Debugging – Change Your Variable Values as You Step Through Your PLSQL
Watches aren’t just for watching. You can actually interact with your programs and ‘see what happens’ when X = 256 instead of 1.
10. Ditch the Tree View for the Schema Browser
There’s nothing wrong with the Connection tree for browsing your database objects. But some folks just can’t seem to get comfortable with it. So, we built them a Schema Browser that uses a drop down control instead for changing up your schema and object types.
Already Know This Stuff, Want More?
Just check out my SQL Developer resource page, it’s one of the main links on the top of this page. Or if you can’t find something, just drop me a note in the form of a comment on this page and I’ll do my best to find it or write it for you.





Twitter
RSS
GooglePlus
Facebook
Mar 21, 2013 @ 07:14:17
Jeff, I just wanted to say a big thank you for your fantastic blog posts. I hate SQLdeveloper when I used it in the last project. I thought that it was the clumsiest and most developer unfriendly tool I have used. This time, when I am starting on a new project, I thought that I will learn a few things about the tool and landed on your blog and ended up spending around 2 hours going from post to post and learning truck loads of tricks – now my respect for SQLdeveloper has gone way up. What a fantastic productive IDE it is. I did not realize its power. Thank you so much again.
Mar 21, 2013 @ 08:41:17
Wow, thanks Siraj for sharing your story here. This is why I blog!
Apr 17, 2013 @ 13:09:46
Great tips!!!!! Being forced to switch to this from Golden so appreciate the quick start. One question… In Golden I can run a statement in edit mode – so I can edit the data in the results grid. Can I do this in sqldeveloper? That is the only thing I have not found out how to do.
Thanks
Michelle
Apr 17, 2013 @ 13:29:47
No, we don’t support that workflow. You’d have to find that row in the table or view it came from…but if you include the ROWID in your query, you could use that as a filter to make it ‘easy’ to get to.
Apr 17, 2013 @ 15:25:43
Thanks Jeff. One more question if I may? I am also used to a ‘Copy Results with Titles’. Is there anything like that in this tool?
Otherwise, your blog has been so helpful that I think my learning curve with this new tool will be minimal! I really appreciate it!
Michelle
Apr 17, 2013 @ 15:30:51
When you say ‘copy’ do you mean a straight up copy and paste from the grid? And when you say ‘titles,’ do you mean column headers?
If so, that’s another trick
Instead of Ctrl+C to do a copy, use Shift+Ctrl+C – that will copy the data to the clipboard with the grid column headers for your query or table/view contents.
Apr 17, 2013 @ 16:30:23
Yes and yes,
Thanks!!!
May 03, 2013 @ 10:23:53
I’m running SqlDev 3.2.10.09 and the table drag from Navigation panel to worksheet doesn’t work (nothing happens). I can drag them from Nav panel to Query Builder, fuss with them there and then go back to the Worksheet to see the sql SqlDev has generated.
I can’t find the “table alias” toggle/mechanism either. It’s using the full table name for all the join sql.
Any thoughts?
Great tip for the date format (NLS in preferences)…I can’t believe I’ve used SqlDev for years and didn’t know that!
May 03, 2013 @ 10:47:44
Do you have the Migrations extension disabled? That’s required for the DnD to work – a bug that we’ve fixed for the next version.
Aliases are controlled in Tools > Preferences > Code Editor > Completion Insight…generate table/column aliases automatically or something very close to that.
May 03, 2013 @ 11:40:35
Thanks, that fixed it (I followed tip #3, before I did tip #5). That’s pretty cool! I’ve been writing them out of my head for years….Ha, ha, ha….
Anyway to save the alias data so SqlDev will remember to use it everytime?