why you should use oracle sql developer
TRANSCRIPT
whyyoushoulduseSQL DeveloperJeffrey Kemp – AUSOUG Nov 2016jeffkemponoracle.com
why? it’s cool it’s shiny it doesn’t crash so often now
why?
versions Current: 4.1.5 (Sept 2016)Early Adopter: 4.2
afewofmyfavourite things...
1. Connections2. Preferences3. Editor4. Apex utilities
1. Connections
Countdown
1/11
11 things
connection switching
1/11
connection colours
2/11
connection folders
3/11
SSH tunnel
4/11
openport 22(not 1521)
(just an example from AWS EC2)
View -> SSH
4/11
SSH tunnelconnection
4/11
SSH Tunnelmore details:
http://www.thatjeffsmith.com/archive/2014/09/30-sql-developer-tips-in-30-days-day-17-using-ssh-tunnels/
http://bit.ly/29ULq6L
4/11
2. Preferences
preferences
Code Editor Max Open PL/SQL Editors = 99 Link Stored Procedures to Files = off Use Smart End = on Use Change of Case as Word Boundary = off Adjust Indentation When Pasting = off Escape When Copying or Pasting Within String
Literals = off Code Editor / Line Gutter
Show Line Numbers = on
5/11
preferences
Database / Advanced Display Null Using Background Color = Light Gray Display Struct Value in Grid = on Display XML Value in Grid = on
Database / Object Viewer Open Object on Single Click = no Post edits on row change = on
Database / PL/SQL Compiler set all options to “ENABLE”
5/11
slowstartup?
fasterstartup
Tools -> Features disable any features you don’t use
6/11
3. Editor
keyboardshortcuts
keyboard shortcuts
Editor Action ShortcutRun statement at cursor/selected
Ctrl+Enter
Run entire script as SQL*Plus F5Indent /Unindent
TabShift+Tab
Comment / Uncomment Ctrl+/Smart case convert Ctrl+Shift+'Quick window toggle:Mark as “n”Go to “n”Go to prev/next
Alt+Shift+nAlt+nAlt+left/right
Window navigate Ctrl+TabMultiple cursors Ctrl+Shift+cli
ck7/11
search
RHS gutter also marks lines with PL/SQL errors and warnings
8/11
4. Apex Utilities
quickApexappmods
9/11
exportApexapps
10/11
refactor
11/11
otherstuffnotmentionedtoday
SQLcl http://www.oracle.com/technetwork/developer-tools/
sqlcl/overview/index.html
http://bit.ly/2ezcZ8m
bonus oddgenplugin for SQL Developer
https://www.oddgen.org
suggestions box
sqldeveloper.oracle.com
moreinfo
Preferences to Tweak – updated for 4.1:http://www.thatjeffsmith.com/archive/2011/12/top-10-preferences-to-tweak-when-using-sql-developer/
Curated content about SQL Developer:http://www.thatjeffsmith.com/sql-developer/
http://bit.ly/2eBkrBz
http://bit.ly/2enw7er
Thank youjeffkemponoracle.com