PL/SQL All the Things in Oracle SQL Developer
-
Upload
jeff-smith -
Category
Technology
-
view
777 -
download
3
Transcript of PL/SQL All the Things in Oracle SQL Developer
![Page 1: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/1.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted
PL/SQL All The ThingsIn Oracle SQL Developer
Jeff [email protected] @thatjeffsmithSenior Principal Product ManagerDatabase Development Tools Group
B r a n d S p a n k i n ’ N e w !
![Page 2: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/2.jpg)
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
![Page 3: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/3.jpg)
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…
![Page 4: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/4.jpg)
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
![Page 5: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/5.jpg)
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
![Page 6: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/6.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL DeveloperHistory
Project RaptorEarly 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.3Optimized Code InsightOracle Big Data Appliance
2014 2015 2016
SQLDev 4.1 ORDS Included/Full GUI instance ViewerSQLclCopy PDB to DBaaSLarry live demos PDB relocate @ OOW
SQLDev Web/4.2 Full Web Version for DBaaS Ships w//12cR2Data Guard, RAC, ShardingSODA CLI in SQLcl
![Page 7: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/7.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
The Core of Your IDE
Bad Movie, Great Poster
![Page 8: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/8.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Setup/Config in5 Minutes Fonts Line #’s Insight Formatter Rules
![Page 9: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/9.jpg)
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
![Page 10: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/10.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
ColorsAfter 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.
![Page 11: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/11.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Formatter Major improvements for v4.2 Also available in SQLcl
![Page 12: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/12.jpg)
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)
![Page 13: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/13.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Split, Full Screen, Float, Doc Tab Groups
![Page 14: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/14.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Ctrl+Click Nav & Code Search
![Page 15: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/15.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Quick Outline quick ‘n’ easynav of your code hide the connpanel if you want
![Page 16: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/16.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
COMPILE
![Page 17: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/17.jpg)
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
![Page 18: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/18.jpg)
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!
![Page 19: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/19.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Compiler Options, Warnings & Errors
![Page 20: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/20.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Stand Up Fight…
…or just another bug hunt?
![Page 21: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/21.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DBMS_OUTPUT use the panel OR SET SERVEROUTPUT ON
![Page 22: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/22.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
The Debugger I have an ENTIRE presentation for the debugger CRAM SESSION!
![Page 23: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/23.jpg)
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
![Page 24: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/24.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Just Demo the Thing Already
![Page 25: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/25.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Click to see Animation
![Page 26: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/26.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Doc Stuff PL/DOC Support and More, right click on connection, ‘Generate DB Doc…’
![Page 27: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/27.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
And All the Rest Profiler Unit Testing Source Control Compiling Invalid Objects
![Page 28: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/28.jpg)
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
![Page 29: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/29.jpg)
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)
![Page 30: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/30.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
![Page 31: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/31.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Debugger Slide DeckMy PL/SQL Posts
Resources
![Page 32: PL/SQL All the Things in Oracle SQL Developer](https://reader035.fdocuments.in/reader035/viewer/2022062223/58aa917d1a28ab85678b4a3f/html5/thumbnails/32.jpg)