why you should use oracle sql developer

33
why you should use SQL Developer Jeffrey Kemp – AUSOUG Nov 2016 jeffkemponoracle.com

Upload: jeffrey-kemp

Post on 16-Apr-2017

541 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Why You Should Use Oracle SQL Developer

whyyoushoulduseSQL DeveloperJeffrey Kemp – AUSOUG Nov 2016jeffkemponoracle.com

Page 2: Why You Should Use Oracle SQL Developer

why? it’s cool it’s shiny it doesn’t crash so often now

Page 3: Why You Should Use Oracle SQL Developer

why?

Page 4: Why You Should Use Oracle SQL Developer

versions Current: 4.1.5 (Sept 2016)Early Adopter: 4.2

Page 5: Why You Should Use Oracle SQL Developer

afewofmyfavourite things...

1. Connections2. Preferences3. Editor4. Apex utilities

Page 6: Why You Should Use Oracle SQL Developer

1. Connections

Page 7: Why You Should Use Oracle SQL Developer

Countdown

1/11

11 things

Page 8: Why You Should Use Oracle SQL Developer

connection switching

1/11

Page 9: Why You Should Use Oracle SQL Developer

connection colours

2/11

Page 10: Why You Should Use Oracle SQL Developer

connection folders

3/11

Page 11: Why You Should Use Oracle SQL Developer

SSH tunnel

4/11

Page 12: Why You Should Use Oracle SQL Developer

openport 22(not 1521)

(just an example from AWS EC2)

Page 13: Why You Should Use Oracle SQL Developer

View -> SSH

4/11

Page 14: Why You Should Use Oracle SQL Developer

SSH tunnelconnection

4/11

Page 15: Why You Should Use Oracle SQL Developer

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

Page 16: Why You Should Use Oracle SQL Developer

2. Preferences

Page 17: Why You Should Use Oracle SQL Developer

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

Page 18: Why You Should Use Oracle SQL Developer

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

Page 19: Why You Should Use Oracle SQL Developer

slowstartup?

Page 20: Why You Should Use Oracle SQL Developer

fasterstartup

Tools -> Features disable any features you don’t use

6/11

Page 21: Why You Should Use Oracle SQL Developer

3. Editor

Page 22: Why You Should Use Oracle SQL Developer

keyboardshortcuts

Page 23: Why You Should Use Oracle SQL Developer

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

Page 24: Why You Should Use Oracle SQL Developer

search

RHS gutter also marks lines with PL/SQL errors and warnings

8/11

Page 25: Why You Should Use Oracle SQL Developer

4. Apex Utilities

Page 26: Why You Should Use Oracle SQL Developer

quickApexappmods

9/11

Page 27: Why You Should Use Oracle SQL Developer

exportApexapps

10/11

Page 28: Why You Should Use Oracle SQL Developer

refactor

11/11

Page 29: Why You Should Use Oracle SQL Developer

otherstuffnotmentionedtoday

SQLcl http://www.oracle.com/technetwork/developer-tools/

sqlcl/overview/index.html

http://bit.ly/2ezcZ8m

Page 30: Why You Should Use Oracle SQL Developer

bonus oddgenplugin for SQL Developer

https://www.oddgen.org

Page 31: Why You Should Use Oracle SQL Developer

suggestions box

sqldeveloper.oracle.com

Page 32: Why You Should Use Oracle SQL Developer

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

Page 33: Why You Should Use Oracle SQL Developer

Thank youjeffkemponoracle.com