SQLDev. TipsandTricks. Jeff Smith Senior Principal Product Database Tools, Oracle Corp

Similar documents
TipsandTricks. Jeff Smith Senior Principal Product Database Tools, Oracle Corp

SQLDevTipsTricks. Jeff Smith Senior Principal Product Database Tools, Oracle Corp

Oracle SQL Developer & REST Data Services

SQL Developer. 101: Features Overview. Jeff Smith Senior Principal Product Database Tools, Oracle Corp

<Insert Picture Here> Oracle SQL Developer: PL/SQL Support and Unit Testing

APEX Times Ten Berichte. Tuning DB-Browser Datenmodellierung Schema Copy & Compare Data Grids. Extension Exchange.

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

The Next Generation of SQL*Plus?

Oracle APEX 18.1 New Features

David Peake Product Manager Oracle Application Express. October Copyright 2013, Oracle and/or its affiliates. All rights reserved.

1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Toad for Oracle Suite 2017 Functional Matrix

<Insert Picture Here> JDeveloper Treasure Hunt

ORACLE SQL DEVELOPER

1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

DBAs can use Oracle Application Express? Why?

Embarcadero PowerSQL 1.1 Evaluation Guide. Published: July 14, 2008

An Oracle White Paper April Oracle Application Express 5.0 Overview

Oracle Application Express

Oracle Data Integrator 12c New Features

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Oracle Database 18c and Autonomous Database

<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

May 22, 2013 Ronald Reagan Building and International Trade Center Washington, DC USA

Using SQL Developer. Oracle University and Egabi Solutions use only

Oracle Application Express 5 New Features

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

The Oracle APEX Community at-a-glance:

<Insert Picture Here> Oracle SQL Developer Data Modeler 3.0: Technical Overview

Essential (free) Tools for DBA!

Rapid SQL 7.5 Evaluation Guide. Published: September 28, 2007

Application Express 4.0 Architecture & Configuration Marc Sewtz Senior Software Development Manager Oracle America Inc.

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

DatabaseRESTAPI

Oracle JET in Oracle APEX Marc Sewtz Senior Software Development Manager Oracle America, Inc. New York, NY

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Top 10 Features of SQL Developer everybody should use, even in the Cloud. Heli Helskyaho, Elise Valin-Raki

Creating and Working with JSON in Oracle Database

Oracle SQL. murach s. and PL/SQL TRAINING & REFERENCE. (Chapter 2)

Oracle12c Release 1 & 2 New Features for Administrators (5 Days)

Copy Data From One Schema To Another In Sql Developer

Tools for Oracle Databases

DB2 for z/os Stored Procedure support in Data Server Manager

Build and Deploy Stored Procedures with IBM Data Studio

Database Explorer Quickstart

Getting Started with Oracle and.net

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Rapid Application Development with APEX 5.0

Overview. Principal Product Manager Oracle JDeveloper & Oracle ADF

Getting Started with Oracle and.net

<Insert Picture Here>

Autonomous Data Warehouse in the Cloud

Embarcadero DB Optimizer 1.0 Evaluation Guide. Published: July 14, 2008

Extend EBS Using Applications Express

SOA, Semantics, & Data Science

What s New in Enterprise Jeff Simpson Sr. Systems Engineer

Oracle Database Express Edition

Oracle Application Express fast = true

Mysql Query Browser Export Table Structure

Consolidate and Prepare for Cloud Efficiencies Oracle Database 12c Oracle Multitenant Option

Introducing Oracle Machine Learning

Oracle Application Express 5.1

Oracle Enterprise Manager 12c IBM DB2 Database Plug-in

Acknowledgments...iii

Embarcadero DB Optimizer 1.5 Evaluation Guide. Published: March 16, 2009

Analyze Schema Oracle 10g Syntax

What s New for.net Developers in Oracle Database

Best Practices for Performance Part 2.NET and Oracle Database

Toad for Oracle v10.6 Tips & Tricks Quick Reference

Enterprise Architect Import Db Schema From Sql File

PL/SQL Developer 7.0 New Features. December 2005

Tools To Document Sql Server Schema View

Oracle APEX Overview. May, Copyright 2018, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here> Getting Started with Oracle and.net

DB2 for z/os: Programmer Essentials for Designing, Building and Tuning

Using Automatic Workload Repository for Database Tuning: Tips for Expert DBAs. Kurt Engeleiter Product Manager

Oracle V Table Schema Sql Script

What s New in Jet Reports 2010 R2

Readiris 17. No retyping. No paper. Just smart documents. #1 Conversion Software

TOAD TIPS & TRICKS. Written by Jeff Podlasek, Toad DB2 product manager, Quest

Oracle Database 12c R2: Administration Workshop Ed 3 NEW

Help Us Help You - TFA Collector and the Support Tools Bundle

Course: Oracle Database 12c R2: Administration Workshop Ed 3

Oracle and.net Introduction and What s New. Copyright 2017, Oracle and/or its affiliates. All rights reserved.

10 Minute Demonstration Script

How To Create New Schema In Oracle 10g Using Toad

August 6, Oracle APEX Statement of Direction

Oracle Database 12c R2: Administration Workshop Ed 3

Toad Data Point - Professional Edition. The Toad Data Point Professional edition includes the following new features and enhancements.

<Insert Picture Here> Making the Most of PeopleSoft Query

APEX Shared Components. Aljaž Mali, Abakus Plus d.o.o.

Pl Sql Copy Table From One Schema To Another

Section 1: Installation and Activation

SAS STUDIO. JUNE 2014 PRESENTER: MARY HARDING Education SAS Canada. Copyr i g ht 2014, SAS Ins titut e Inc. All rights res er ve d.

Managing Oracle Database 12c with Oracle Enterprise Manager 12c

MarkLogic Server. Query Console User Guide. MarkLogic 9 May, Copyright 2017 MarkLogic Corporation. All rights reserved.

Oracle Forms and Oracle APEX The Odd Couple

Create a DBaaS Catalog in an Hour with a PaaS-Ready Infrastructure

May 22, 2013 Ronald Reagan Building and International Trade Center Washington, DC USA

Transcription:

SQLDev TipsandTricks Jeff Smith Senior Principal Product Manager Jeff.d.smith@oracle.com @thatjeffsmith Database Tools, Oracle Corp

Not Just THAT SQLDev Guy Database Development Tools team Product manager/story teller (SQLDev, SQLcl, Data Modeler, ORDS) Oracle Emp since 2011, Quest Software for 10 years, I bother people online as @thatjeffsmith Contact me for a free remote presentation for your group/company Copyright 2016, Oracle and/or its affiliates. All rights reserved.

Safe Harbor Statement The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle.

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 3 rd Party RDBMS Migrations to Oracle Deploy and Administer Oracle REST Data Services REST Enablement of the Database Command Line Interface

Release History 3.0 Full Data Modeler View > DBA SQL Tuning Advisor Query Builder 4.0.3 Optimized Code Insight Oracle Big Data Appliance 2005 1.1 File Based PL/SQL editing Reports Ships with 11gR1 2006 1.5.x Localizations - Japanese, Spanish, Italian, German, French, Portuguese, Chinese, & Koreans Ships with 11gR2 2007 2008 2009 2010 2011 2012 3.2 APEX Listener / ORDS Support Database 12c Support Schema Service Support 2013 4.1 ORDS Included/Full GUI instance Viewer SQLcl Copy PDB to DBaaS Larry live demos PDB relocate @ OOW 2014 2015 2016 2017 SQLDev v1.0 SQL Worksheet Procedure Editor The world takes notice! Project Raptor Early Adopter on OTN 1.5 Schema Copy/Diff/Export Thick connections Versioning TimesTen 2.1 Unit Testing Data Modeler Viewer Unshared SQL Worksheets 3.1 New Database DIFF PDF Reports RMAN Data Pump 4.0 Java 7 ASH/AWR/ADDM Color Coded Connections Command line Interface SQLcl New CLI Modern SQL*Plus 4.2 Real Time SQL Monitoring Top SQL Report Formatter & Other Editor Enhancements Easier RESTful Services Development

Release History 2017.2 Bug Fixes Sharding Data Guard 2017 17.3 & 17.4 Bug Fixes 2018 2019 18.1 Autonomous Data Warehouse Support New Welcome Screen/Connections SQL Injection Detection PL/Scope SQL Statement Support Better Formatting KILL ALL THE BUGS! Quarterly Releases!!!

5,000,000+ Top 15 Download on OTN Telling Your Friends

Provocative Statement! You re doing it wrong. All wrong. Do you even SQLDev?

Huge Product, Most Folks are Self-Taught PL/SQL IDE SQL editor GUI for browsing and managing database objects Ad Hoc reporting Database Design & Data Modeling Database Administration 3 rd Party RDBMS Migrations to Oracle Deploy and Administer Oracle REST Data Services REST Enablement of the Database Command Line Interface it s our fault, not yours.

Jeff s Driving School

Biggest complaint? Too much MOUSE.

Also Available on the command-line: SQLcl & <TAB> Just hit <TAB> for help Autocompletes on Single Match Lists possible matches otherwise!

SQL Statement & Script History access with Up/Down Key Sensitive commands, connect black-listed Defaults to last 100 Avail from session to session per OS user

CLI: Use an ALIAS to Make DBMS_XPLAN EASY

Get your files, whichever way you want them

Custom Formats, just add JavaScript

Auto-Replace/Spell Checking in SQLcl Uses SCRIPT/JS Looks for bad text Replaces before sending to JDBC Shows corrected SQL with Output

Step 1: LOOK GOOD fonts output line numbers highlighting formatting desktop management

Step 2: Navigate Like a Boss trim your tree or Schema Browser ctrl+click Alt+G

Step 3: Automate Your Stuff Code Snippets or Auto-Replace Reports

Manual versus Automatic what s better?

Automatic = suggestions as you type Manual = suggestions as you ask for them (ctrl+space)

Completion Insight, I recommend The Stick! Adjust delay Suppress automatic suggestions OR Turn off completely and use keyboard, on demand

Bonus: Get Help/Examples with Commands! peak into Docs for sample code on your function/command click on book to go straight to the DOCS page for that function/command

Your Best Queries? Originally written by Aliens?

SQL History Not aliens, just code from 6 days ago In lieu of clicking through SQL History (F8)

2. SQL History Logging: every SQL to DB captured

I love it when a plan comes together!!

Plans/AutoTrace generate & compare side by side! Hit the drop-down control next to Plan Button to access cached plans from v$sql_plan Pin Plan, Gen Plan, Right-Click > Compare for Side By Side View

enable things you want to see in your plans, like QBLOCK_NAME

PUT THE MOUSE DOWN

7 Clicks to go from Grid to Formatted Export to Output

Format Query Results Directly to CSV, XML, etc 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 Version 4.1 Updates! SET SQLFORMAT JSON ANSICONSOLE

I can get you there, I bet, I'm the Map!

Alternatives to the Tree for Nav #1: Schema Browser Right-Click on a Connection Drop Down Controls for Schema Object Same Functionality as Tree

Three More Ways to Open/Browse Objects 1. Hold down Ctrl... Mouse over object...click to open object 2. SHIFT+F4 (DESC) 3. Find DB Object Alt+G on object text

Snippet, Snippet GOOD. Code Templates GOLD!

Auto-Replace Now Available (v4.2) 1. Program in Preferences 2. Type name 3. Ctrl+Spacebar OR enable Auto-Replace

More Preferences To Consider Open Object on Single Click Code Editor Font Grid in checkerboard Display NULL As Shortcut Keys PL/SQL Syntax Colors

I ll Take Potpourri for $200, Jeff

Double the functionality in SQL Developer View Menu DBA Adding new things every release Not JUST for developers anymore

Watch Database Activity agent-less ZERO DB objects a fancy report no history no alerts drill-downs We re making more of these

SQL Developer, On the Web Runs out of Oracle REST Data Services (ORDS) Oracle Database Cloud Services All HTML5/JS Phase One: Fully Functional SQL Worksheet Relational Diagrams for your database objects Real Time SQL Monitoring Alert Log Viewer, Storage Info, Basic DB Activity Overview

SQL Developer, In Your Browser

SQL Developer SQL Worksheet Features Run SQL & PL/SQL Explain Plans & DBMS_OUTPUT Recover worksheets/code from prior sessions SQL History/Recall Code Insight Formatting and Code Parser/Error Highlighting Script & Query Output (text vs grid) Grid Exports Drag and Drop Code Generation AND MORE!

Diagram Your Objects

SQL Developer Data Modeling v1 Features Create any combination of objects Create one or more diagrams preview diagrams search diagrams View all metadata/properties of object Generate DDL

Resources OTN SQL Developer Forums By Example Tutorials My Tips & Tricks Blog

The Tips in Blog Format 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 :)