Oracle SQL Developer Tips & Tricks

21,897 views

Published on

This presentation shows features and preferences that will turbo-charge your database development experience in Oracle SQL Developer.

Published in: Technology
0 Comments
10 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
21,897
On SlideShare
0
From Embeds
0
Number of Embeds
11,417
Actions
Shares
0
Downloads
198
Comments
0
Likes
10
Embeds 0
No embeds

No notes for slide
  • This is a Branded Title Slide with Event Look and Feel slide ideal for including a brief title, subtitle and presenter information.

    Do not customize this slide with your own picture.

    To reuse this branded background in another presentation on PC
    Locate and open the presentation where you will be placing this artwork. Click New Slide from the Home tab's Slides group and select Reuse Slides.
    Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy.
    Check Keep Source Formatting and click the slide that contains the background you want.
    Click the left-hand slide preview to which you wish to apply the new master layout.
    Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery.
    Delete any unwanted slides or duplicates.

    To reuse this branded background in another presentation on Mac
    Locate and open the presentation where you will be placing this artwork. Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation…
    Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box.
    Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides.
    Click the left-hand slide preview to which you wish to apply the new master layout.
    Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery.
    Delete any unwanted slides or duplicates.
  • Oracle SQL Developer Tips & Tricks

    1. 1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle SQLcl & SQL Developer Tips & Tricks!! (updated for v4.2) Jeff Smith Senior Principal Product Manager Database Development Tools Jeff.d.smith@oracle.com @thatjeffsmith http://www.thatjeffsmith.com
    2. 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Improve application developers experience  SQL Developer, In a Nutshell  The Show!!!  Talk the Tip  Show the Tip  Questions As We Go!  Take notes or borrow mine at the end… How this session works…
    3. 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  FREE Oracle Database IDE/GUI  Windows, OS X, *NIX  More than 4,500,000 users worldwide  My Oracle Support available via your DB license
    4. 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer, Major Feature Areas  PL/SQL IDE  SQL editor  GUI for browsing and managing database objects  Ad Hoc reporting  Database Design & Data Modeling  Database Administration  3rd Party RDBMS Migrations to Oracle  Deploy and Administer Oracle REST Data Services  REST Enablement of the Database  Command Line Interface
    5. 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer History Project Raptor  Early Adopter on OTN 2005 SQLDev 1.1  File Based PL/SQL editing  Reports  Ships with 11gR1 SQLDev 1.5.x  Localizations - Japanese, Spanish, Italian, German, French, Portuguese, Chinese, & Koreans  Ships with 11gR2 SQLDev 1.0  SQL Worksheet  Procedure Editor  The world takes notice! SQLDev 1.5  Schema Copy/Diff/Export  Thick connections  Versioning  TimesTen SQLDev 2.1  Unit Testing  Data Modeler Viewer  Unshared SQL Worksheets 2007 201020092006 SQLDev 3.0  Full Data Modeler  View > DBA  SQL Tuning Advisor  Query Builder 2008 2011 2012 SQLDev 3.1  New Database DIFF  PDF Reports  RMAN  Data Pump 2013 SQLDev 3.2  APEX Listener / ORDS Support  Database 12c Support  Schema Service Support SQLDev 4.0  Java 7  ASH/AWR/ADDM  Color Coded Connections  Command line Interface SQLDev 4.0.3  Optimized Code Insight  Oracle Big Data Appliance 2014 2015 2016 SQLDev 4.1  ORDS Included/Full GUI  instance Viewer  SQLcl  Copy PDB to DBaaS  Larry live demos PDB relocate @ OOW SQLDev/SQLcl 4.2  SQLcl PROD  SQL Dev Early Adopter  Real Time SQL Monitoring  TOP Report  Formatter & Other Edtior Enhancements
    6. 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
    7. 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Manual versus Automatic… …what’s better?
    8. 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
    9. 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Adjust delay  Suppress automatic suggestions OR  Turn off completely and use keyboard, on demand Completion Insight, I recommend The Stick!
    10. 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Insight/Auto-Complete Object Names and Commands  Just hit <TAB> for help  Autocompletes on Single Match  Lists possible matches otherwise!
    11. 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Your Best Queries? Originally written by… Aliens
    12. 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | In lieu of clicking through SQL History (F8) SQL History
    13. 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2. SQL History Logging Version 4.1 Updates!
    14. 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SQL Statement & Script History
    15. 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | I love it when a plan comes together!!
    16. 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Plans/AutoTrace
    17. 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Alias PLAN = Go get me DBMS_XPLAN!!!
    18. 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | PUT THE MOUSE DOWN
    19. 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 7 Clicks to go from Grid to Formatted Export to Output
    20. 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Add Comment  Execute via F5 (Script)  Comment labels match grid export formatter labels  ONLY works in SQLDev… & SQLcl  Format Query Results Directly to CSV, XML, etc
    21. 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Format Query Results Directly to CSV, XML, etc Version 4.1 Updates!  SET SQLFORMAT  JSON  ANSICONSOLE
    22. 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Get your files, whichever way you want them
    23. 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Custom Formats, just add JavaScript
    24. 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Have you tried Ctrl+Click?
    25. 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Right-Click on a Connection  Drop Down Controls for  Schema  Object  Same Functionality as Tree Schema Browser
    26. 26. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 1. Hold down Ctrl... …Mouse over object ...CLICK to open object 2. SHIFT+F4 (DESC) 3. Find DB Object Alt+G on object text Three More Ways to Open/Browse Objects
    27. 27. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
    28. 28. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
    29. 29. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
    30. 30. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Split- •Personality •Pants •Editors
    31. 31. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Split = ‘mirrored objects’ New Tab Group = View multiple editors concurrently Split Editors & New Document Tab Groups
    32. 32. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Snippet, Snippet GOOD. Code Templates…GOLD!
    33. 33. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Auto-Replace Now Available (v4.2)
    34. 34. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Auto-Replace/Spell Checking in SQLcl  Uses SCRIPT/JS  Looks for ‘bad’ text  Replaces before sending to JDBC  Shows corrected SQL with Output
    35. 35. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | I’ll Take Potpourri for $200, Jeff
    36. 36. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Double the functionality in SQL Developer…  View Menu  ‘DBA’  Adding new things every release  Not JUST for developers anymore
    37. 37. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Watch Database Activity  agent-less  ZERO DB objects  a ‘fancy’ report  no history ● no alerts ● drill-downs We’re making more of these 
    38. 38. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OTN – SQL Developer – Forums – By Example Tutorials – My Tips & Tricks Blog Resources
    39. 39. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Customize Preferences Recall SQL History via keyboard Script Output in CSV, HTML, … Schema Browser Ctrl+Click, Shift+F4, Object Search XML Extensions All of my #SQLDev Posts :) The Tips in Blog Format

    ×