Date post: | 20-Feb-2017 |
Category: |
Technology |
Upload: | jeff-smith |
View: | 779 times |
Download: | 3 times |
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 !
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
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…
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
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
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
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
The Core of Your IDE
Bad Movie, Great Poster
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Setup/Config in5 Minutes Fonts Line #’s Insight Formatter Rules
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
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.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Formatter Major improvements for v4.2 Also available in SQLcl
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)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Split, Full Screen, Float, Doc Tab Groups
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Ctrl+Click Nav & Code Search
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Quick Outline quick ‘n’ easynav of your code hide the connpanel if you want
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
COMPILE
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
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!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Compiler Options, Warnings & Errors
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Stand Up Fight…
…or just another bug hunt?
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DBMS_OUTPUT use the panel OR SET SERVEROUTPUT ON
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
The Debugger I have an ENTIRE presentation for the debugger CRAM SESSION!
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
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Just Demo the Thing Already
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Click to see Animation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Doc Stuff PL/DOC Support and More, right click on connection, ‘Generate DB Doc…’
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
And All the Rest Profiler Unit Testing Source Control Compiling Invalid Objects
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
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)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Debugger Slide DeckMy PL/SQL Posts
Resources