Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

PL/SQL All the Things in Oracle SQL Developer

1.456 Aufrufe

Veröffentlicht am

An overview of Oracle's IDE support for PL/SQL - debug, compile, format and more.

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

PL/SQL All the Things in Oracle SQL Developer

  1. 1. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | PL/SQLAll The Things In Oracle SQL Developer Jeff Smith Jeff.d.smith@oracle.com @thatjeffsmith Senior Principal Product Manager Database Development Tools Group Oracle Confidential – Internal/Restricted/Highly Restricted
  2. 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | whoami  NOT Steven Feuerstein! (nor Bryn)  a database tools/IDE geek since 2001  thatjeffsmith.com  Product Manager for  SQL Developer  SQLcl  SQL Developer Data Modeler  ~ Oracle REST Data Services
  3. 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Improve application developers experience  SQL Developer, In a Nutshell  The Show!!!  Talk the Feature  Show the Feature  Questions As We Go!  Take notes or borrow mine at the end… How this session works…
  4. 4. 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
  5. 5. 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
  6. 6. 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 Web/4.2  Full Web Version for DBaaS  Ships w//12cR2  Data Guard, RAC, Sharding  SODA CLI in SQLcl
  7. 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | The Core of Your IDE Bad Movie, Great Poster
  8. 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Setup/Config in 5 Minutes  Fonts  Line #’s  Insight  Formatter Rules
  9. 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Snippets & SQL Code Templates  Drag And Drop or  Keyboard Activated  ‘Program In’ your frequently used bits of code Click here to see the animation
  10. 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Colors After you pick a good font, customize the way identifiers, keywords, syntax errors, etc. are displayed in your code editors. Dark background? Don’t forget to change your Caret Color from Black to something else.
  11. 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Formatter  Major improvements for v4.2  Also available in SQLcl
  12. 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Get a Code Block  Invoke with keyboard (ctrl+spacebar) or  Drag and Drop (from tree to worksheet)
  13. 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Split, Full Screen, Float, Doc Tab Groups
  14. 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Ctrl+Click Nav & Code Search
  15. 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Quick Outline  quick ‘n’ easy nav of your code  hide the conn panel if you want
  16. 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | COMPILE
  17. 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Don’t Forget to talk about IDENTIFIERS, Jeff… (PL/Scope)  collect metadata on your PL/SQL  MUCH faster than searching ALL_SOURCE  find where your code is declared, invoked, referenced and more
  18. 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Do I look good in this code?  Ask the PL/SQL engine to ‘FAIL’ your slow code  Or at least enable PL/SQL Warning Messages!
  19. 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Compiler Options, Warnings & Errors
  20. 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Stand Up Fight… …or just another bug hunt?
  21. 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | DBMS_OUTPUT  use the panel OR  SET SERVEROUTPUT ON
  22. 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | The Debugger  I have an ENTIRE presentation for the debugger  CRAM SESSION!
  23. 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | The Debugger  requirements  jdwp/DEBUG CONNECT SESSION  ACL in 12c  compile FOR DEBUG  features  watches  breakpoints  call stack  step into  external debugging
  24. 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Just Demo the Thing Already
  25. 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Click to see Animation
  26. 26. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Doc Stuff PL/DOC Support and More, right click on connection, ‘Generate DB Doc…’
  27. 27. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | And All the Rest  Profiler  Unit Testing  Source Control  Compiling Invalid Objects
  28. 28. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Unit Test  Requires a single DB Repos  Minimal coding  StartUp & TearDowns  Code Coverage Reports  CLI for automation testing
  29. 29. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Source Control  Subversion & Git (out of the box)  Clients for doing source inside of SQL Dev  You can deploy a local SVN using SQL Developer  SVN is also used by Data Modeler for its repository  Automatic Versioning of local files (no repos required)
  30. 30. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  31. 31. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Debugger Slide Deck My PL/SQL Posts Resources

×