Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Why You Should Use Oracle SQL Developer

1,285 views

Published on

Some of my favourite things about Oracle SQL Developer that make me more productive as a PL/SQL developer. Presented at AUSOUG Connect conference, November 2016 in Perth, Western Australia.

Published in: Technology
  • Be the first to comment

Why You Should Use Oracle SQL Developer

  1. 1. why you should use SQL Developer Jeffrey Kemp – AUSOUG Nov 2016 jeffkemponoracle.com
  2. 2. why?  it’s cool  it’s shiny  it doesn’t crash so often now
  3. 3. why?
  4. 4. versions  Current: 4.1.5 (Sept 2016)  Early Adopter: 4.2
  5. 5. a few of my favourite things... 1. Connections 2. Preferences 3. Editor 4. Apex utilities
  6. 6. 1.Connections
  7. 7. Countdown 1/11 11 things
  8. 8. connection switching 1/11
  9. 9. connection colours 2/11
  10. 10. connection folders 3/11
  11. 11. SSH tunnel 4/11
  12. 12. open port 22 (not 1521) (just an example from AWS EC2)
  13. 13. View ->SSH 4/11
  14. 14. SSH tunnel connection 4/11
  15. 15. SSHTunnel more 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
  16. 16. 2. Preferences
  17. 17. 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
  18. 18. preferences  Database / Advanced  Display Null Using Background Color = Light Gray  Display StructValue in Grid = on  Display XMLValue in Grid = on  Database / ObjectViewer  Open Object on Single Click = no  Post edits on row change = on  Database / PL/SQL Compiler  set all options to “ENABLE” 5/11
  19. 19. slow startup?
  20. 20. faster startup  Tools -> Features  disable any features you don’t use 6/11
  21. 21. 3. Editor
  22. 22. keyboard shortcuts
  23. 23. keyboard shortcuts Editor Action Shortcut Run statement at cursor/selected Ctrl+Enter Run entire script as SQL*Plus F5 Indent / Unindent Tab Shift+Tab Comment / Uncomment Ctrl+/ Smart case convert Ctrl+Shift+' Quick window toggle: Mark as “n” Go to “n” Go to prev/next Alt+Shift+n Alt+n Alt+left/right Window navigate Ctrl+Tab Multiple cursors Ctrl+Shift+click 7/11
  24. 24. search RHS gutter also marks lines with PL/SQL errors and warnings 8/11
  25. 25. 4.ApexUtilities
  26. 26. quick Apex app mods 9/11
  27. 27. export Apex apps 10/11
  28. 28. refactor 11/11
  29. 29. other stuff not mentioned today  SQLcl  http://www.oracle.com/technetwork/developer- tools/sqlcl/overview/index.html http://bit.ly/2ezcZ8m
  30. 30. bonus oddgen plugin for SQL Developer https://www.oddgen.org
  31. 31. suggestions box sqldeveloper.oracle.com
  32. 32. more info  Preferences toTweak – 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
  33. 33. Thank you jeffkemponoracle.com

×