Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle SQL Developer

You're reading from   Oracle SQL Developer Learn Database design, development,and administration using the feature-rich SQL Developer 4.1 interface

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785281273
Length 344 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Susan Harper Susan Harper
Author Profile Icon Susan Harper
Susan Harper
Ajith Narayanan Ajith Narayanan
Author Profile Icon Ajith Narayanan
Ajith Narayanan
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Getting Started with SQL Developer 4.1 FREE CHAPTER 2. Database Connections and SQL Worksheet 3. The Power of SQL Reports 4. Working with PL/SQL 5. SQL Developer for DBAs 6. SQL Developer Accessibility 7. Importing, Exporting, and Working with Data 8. Database Connections and JDBC Drivers 9. Introducing SQL Developer Data Modeler 10. Extending SQL Developer 11. Working with Application Express 12. Working with SQL Developer Migrations 13. Oracle Data Miner 4.1 14. REST Data Services and REST Development Index

Navigating around SQL Developer

SQL Developer has a selection of windows, navigators, and tabs. On start-up, you are presented with the main navigator toolbars and menus, as shown in the following screenshot:

Navigating around SQL Developer

The two main navigators, Connections and Reports, are presented in a tabbed window. These and other navigators, such as the Versioning Navigator, are available through the main View menu. You can also open windows such as Snippets, Recent Objects, and Find DB Objects using the View menu.

Note

Any navigators that you open during a session, and that are still open when you close the product, are automatically opened when you restart the product.

Managing SQL Developer windows

With the exception of the SQL Worksheet and its associated tabs, all of the main tabbed dialogs can be minimized or maximized and accessed while docked or undocked. These menu controls are available through context menus in the tabs, as shown in the following screenshot:

Managing SQL Developer windows

You can rearrange tabbed windows by selecting and dragging the tab into place. Once any window is minimized, roll your mouse over the minimized tab to display a floating window that stays active while your mouse lies over it and rolls back into place when you move off. This is very useful when working with temporary windows such as Snippets and Find DB Object. The following screenshot shows the floating window for the Snippets dialog. If you roll the mouse over the area, you can work in the window (for example, navigating about until you have located the snippet of code you are after, and then dragging the code onto the worksheet). The window will minimize out of the way once you have moved off it.

You can undock the floating window, move it off to one side, and keep it undocked while you work with the SQL Worksheet. In a dual-monitor setup, you can drag the floating window onto one monitor, while working with the SQL Worksheet on the other monitor.

Managing SQL Developer windows

Tiling windows

Once you start working with connections, you will have more windows and tabs to deal with, especially if you have more than one connection created.

  1. Select the HR_11g connection created in the previous section, expand the connection and Tables node, and select EMPLOYEES.
  2. In the table definition window, select the pin button (Freeze View), as shown in the following screenshot, to freeze the view.
    Tiling windows
  3. Now, select the DEPARTMENTS table. A second table definition window opens to display the details from the new table.
  4. Select the DEPARTMENTS tab and drag it down to the lower portion of the screen. Notice the shape of the dragged object change as you drag it slightly to the left, to the center, and the lower portion of the window.
  5. Each of the shapes represent a different layout position. Release the mouse to secure the new position. The screenshots that follow display two of the available positions:
    • Vertically:
      Tiling windows
    • Horizontally:
    Tiling windows

Splitting documents

When you tile windows, you can compare the details of two tables. However, as each table has a selection of tabs, it's useful to be able to review details in the tabs without having to switch back and forth between tabs. As is true for other layout features, you can split the document using a menu or by drag-and-drop. Each of the object definitions tabbed displays has a drag bar on the top and bottom right that you can select and drag to split the window horizontally, or vertically, as shown in the following screenshot:

Splitting documents

Maximizing detail

Almost all of the tabs in SQL Developer will maximize when double-clicked. There are a few that do not follow this rule, such as the tabs related to the SQL Worksheet. In general, this works for top-level tabs, which is any tab you can undock and move about, and not for secondary tabs. To maximize a tab, double-click on the tab. A second double-click will reverse the process.

Note

Double-click on the tab to maximize a top-level tab. Double-click again to revert to the previous layout.

Resetting the window layout

If you move your windows about a great deal, you may find that you want to get things back to the default settings.

The example in the following screenshot displays the standard docked Connections and Reports windows to the left. The Reports window, by default, docks below the connections. We have also docked the Snippets window to the right. These windows fill the columns to the left and right, leaving a central window for the editors and log files.

Resetting the window layout

The layout is controlled by the window layout set in the preferences. Go to Tools | Preferences under the Environment node in the tree select Dockable Windows. The default layout, and the one that matches the example in the previous screenshot, is shown in the following screenshot:

Resetting the window layout

Each of the little curved arrows on the diagram is clickable, and as such controls the positioning of the windows. Clicking on the arrow extends or contracts the area taken up by the docked window.

In our example, and in the default SQL Developer environment, there is no full-docked window across the top of the screen. However, if you drag a window into the docked position below the main tool bar, it would stretch across the screen.

If you find your windows are in a muddle, first verify that the Dockable Windows layout is what you want, and then drag the various dockable windows back into place. Some suggestions on the SQL Developer forum are to remove the system folder (it works, but that's an extreme solution).

You have been reading a chapter from
Oracle SQL Developer
Published in: Jan 2016
Publisher:
ISBN-13: 9781785281273
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime