0% found this document useful (0 votes)
293 views2 pages

SQLDeveloper CheatSheet

This document provides a cheat sheet of basic SQL Developer features and shortcuts for developers. It lists useful features such as changing the GUI language, creating database connections, disabling unneeded features, and customizing the code formatter. It also provides useful keyboard shortcuts for executing statements, formatting code, navigating between worksheets, and commenting/uncommenting code.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
293 views2 pages

SQLDeveloper CheatSheet

This document provides a cheat sheet of basic SQL Developer features and shortcuts for developers. It lists useful features such as changing the GUI language, creating database connections, disabling unneeded features, and customizing the code formatter. It also provides useful keyboard shortcuts for executing statements, formatting code, navigating between worksheets, and commenting/uncommenting code.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

Cheat Sheet: Basic SQL Developer Features and Shortcuts

for Developers
Useful Features
Change the GUI language:
Add AddVMOption -Duser.language=en
Duser.language=en to <SqlDeveloper-root-folder>\sqldeveloper\bin\sqldeveloper.conf
sqldeveloper.conf
Where en is the language code for English. Available languages are defined in the
oracle.translated.locales parameter in <SqlDeveloper-root-folder>\ide\bin\ide.boot.

Creating database connections:


Right-click on connections, New, and provide the appropriate values. Make sure to set a connection color.
Disabling features you don't need:
Tools->Features:
>Features: Uncheck unneeded features.
Displaying line numbers:
Right-click on the left margin in the SQL w
worksheet, and select Toggle Line Numbers.
Customizing the code formatter:
Tools->Preferences->Database->SQL
>SQL FFormatter->Oracle Formatting: Edit.

Making nulls easily distinguishable:


Tools->Preferences->Database->Advanced:
>Advanced: Display Null Using Background Color
Color.

Exporting query results:


click on the results grid and click on Export. Select the desired format.
Right-click

Automatically pin all results:


Tools->Preferences->Database->Worksheet:
>Worksheet: Show query results in new tabs
tabs.

Displaying results with zebra pattern:


Tools->Preferences->Database->Worksheet:
>Worksheet: Grid in checker board or Zebra pattern
pattern.

Exporting tables:
In the Connections panel expand Tables, right
right-click
click on the desired table, select Export. Uncheck Export
DDL if you only want the data.

Defining and editing code templates:


emplates:
Tools->Preferences->Database->SQL
>SQL Editor Code Templates: Use brackets ([]) to define placeholders.

Displaying code snippets:


View->Snippets.
>Snippets. To use a snippet click on it and drag it into the worksheet or code editor.

Viewing a relational diagram for a table


table:
Method 1: In the Connections panel expand Tables, double click on the desired table, select the Model
tab.
Method 2: Go to View->Data
>Data Modeler
Modeler->Browser,
>Browser, then in the browser add a new relational model, and from
the navigation tree drag tables into the design. Hold CONTROL while dragging to add related tables
automatically.

sql.standout-dev.com
Method 3: Go to File->Data
>Data Modeler
Modeler->Import->Data Dictionary and follow the wizard.

Enable Navigation Filtering:


Tools->Preferences->Database->Navigation
Navigation Filter. Check Enable Navigation Tree Filtering..

Display Gauges:
Include this expression in your query: 'SQLDEV:GAUGE:<min>:<max>:<low
'SQLDEV:GAUGE:<min>:<max>:<low-trheshold>:<high
trheshold>:<high-
threshold>:<gauge-value>'.

Useful Keyboard Shortcuts

Execute Statement: Ctrl + Enter or F9


Execute Script: F5
Autotrace: F6
Format code: Ctrl +F7
Autcomplete code: Ctrl + Space Bar
Go to line: Ctrl + G
Get Object Info (Describe on steroids): Shift + F4
SQL History: F8
Switch to previous worksheet (the one to the left): Shift + F5 or Ctrl + Shift + F6
Switch to next worksheet (the one to the right): Shift + Alt + F5 or Ctrl + F6
Switch to last worksheet used: Ctrl + Tab or Ctrl + Tab,Tab
Copy results including column headers Ctrl + Shift + C
Toggle uppercase, lowercase initcap CTRL + Shift + '
Comment and uncomment code CTRL + /
Go to the results grid ALT + PgDwn
Go to the worksheet editor ALT + PgUp

sql.standout-dev.com

You might also like