oracle sql developer tips & tricks
DESCRIPTION
Updated for version 4.0! This presentation shows features and preferences that will turbo-charge your database development experience in Oracle SQL Developer.TRANSCRIPT
![Page 1: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/1.jpg)
![Page 2: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/2.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted
Oracle SQL DeveloperTips & Tricks
Jeff [email protected] || @thatjeffsmithSenior Principal Product ManagerDatabase Development Tools Group
![Page 3: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/3.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Safe Harbor StatementThe 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.
![Page 4: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/4.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Improve application developers experience
A Little History Talk the Tip Show the Tip Questions As We Go! Take notes or borrow mine at the end…
Agenda
![Page 5: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/5.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL Developer
FREE Oracle Database IDE/GUI Windows, OS X, *NIX More than 3,600,000 users worldwide My Oracle Support available via your DB license
![Page 6: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/6.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Developer Data ModelerIncluded for free, also available as a separate download/program
Strategy and Analysis
Relational
Database Design
Data Type
Star Schema Physical
MultidimensionalERD DFD
Logical
Reporting
Import Models
Domains
![Page 7: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/7.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Project Raptor (2005) ~ Oracle SQL Developer v1.0 (2006) Version 1.5 (2008) Version 2.1 (2009) Version 3.0 (2011) Version 3.1, 3.2 (2012)
Version 4.0 (2013) Version 4.0.3 (Sept 2014)
Release History
![Page 8: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/8.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
4.0.3 ‘Trick’: SSH Tunneling
Integrated SSH support Establish tunnel to machine that can talk to your database listener User/PWD or SSH Keys
![Page 9: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/9.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
4.0.3 ‘Trick’: Cloning Objects
![Page 10: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/10.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Automatic can be annoying Disable: Open Object on Single Click I like my data to stay put Enable: Show query results in new tabs
1. Configure the Automatic Stuff
![Page 11: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/11.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Adjust delay as comfortable Suppress automatic suggestions if too many ‘hits’ Turn off completely and use ctrl+spacebar Tweaked in v4.0.2
1B. Show the Automatic Completion Stuff
![Page 12: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/12.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
In lieu of clicking through SQL History (F8)
2. SQL History
![Page 13: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/13.jpg)
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
3a. Format Query Results Directly to CSV, XML, etc
![Page 14: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/14.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
3b. Copying Grids WITH Column Headers
![Page 15: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/15.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
4a. Drag-n-Drop Objects to Editor
![Page 16: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/16.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Shift, Select, Drag, Drop OR Ctrl+Select, Drag.. Ctrl walks the dependency tree Preview DDL, save, export, etc
4b. Drag-n-Drop Objects to Model
![Page 17: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/17.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
5. Viewing PL/SQL Execution Output (RefCursors)
![Page 18: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/18.jpg)
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
6. Schema Browser
![Page 19: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/19.jpg)
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 ObjectAlt+G on object text
7. Three More Ways to Open/Browse Objects
![Page 20: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/20.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Create your ownobject actions Extend the objecteditors
8. Extend the product with XML+SQL
![Page 21: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/21.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
8. Extend the product with XML+SQL
![Page 22: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/22.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Export data to Excel Import from Excel to table
Existing Build New One
XLSX Exports in 4 are faster
9. Excel Stuff
![Page 23: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/23.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
9. Excel Stuff – the Imports get a LOT easier in v4.1
Preview data as you define column mappings Bad data highlighted Best guess data types & date formats CLI Support
![Page 24: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/24.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right Click in the Editor Tab, split gives you 2 independent views of the editor, New Tab Group lets you see multiple editors at once
10. Split Editors & New Document Tab Groups
![Page 25: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/25.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OTN – SQL Developer
– Forums
– By Example Tutorials
– My Tips & Tricks Blog
Resources
![Page 26: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/26.jpg)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Customize PreferencesRecall SQL History via keyboardScript Output in CSV, HTML, ...
Drag ‘n’ Drop Tables to Worksheet
Drag ‘n’ Drop Tables to Model
PL/SQL OutputSchema BrowserCtrl+Click, Shift+F4, Object SearchCopying Grids w/ Column HeadersXML ExtensionsAll of my #SQLDev Posts :)
The Tips in Blog Format
![Page 27: Oracle SQL Developer Tips & Tricks](https://reader036.vdocuments.mx/reader036/viewer/2022062303/554914b2b4c90553458c0a72/html5/thumbnails/27.jpg)