Download presentation
Presentation is loading. Please wait.
Published byMireya Keer Modified over 10 years ago
2
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer Tips & Tricks Jeff Smith Jeff.d.smith@oracle.com || @thatjeffsmith Senior Principal Product Manager Database Development Tools Group Oracle Confidential – Internal/Restricted/Highly Restricted
3
Copyright © 2014 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.
4
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
5
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
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SQL Developer Data Modeler Included for free, also available as a separate download/program Strategy and Analysis Relational Database Design Data Type Star Schema Physical Multidimensional ERD DFD Logical Reporting Import Models Domains
7
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
8
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
9
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 4.0.3 ‘Trick’: Cloning Objects
10
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
11
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
12
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | In lieu of clicking through SQL History (F8) 2. SQL History
13
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
14
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3b. Copying Grids WITH Column Headers
15
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 4a. Drag-n-Drop Objects to Editor
16
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
17
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 5. Viewing PL/SQL Execution Output (RefCursors)
18
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
19
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 Object Alt+G on object text 7. Three More Ways to Open/Browse Objects
20
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Create your own object actions Extend the object editors 8. Extend the product with XML+SQL
21
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 8. Extend the product with XML+SQL
22
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
23
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
24
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
25
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OTN – SQL Developer – Forums Forums – By Example Tutorials By Example Tutorials – My Tips & Tricks Blog My Tips & Tricks Blog Resources
26
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Customize Preferences Customize Preferences Recall SQL History via keyboard Recall SQL History via keyboard Script Output in CSV, HTML,... Script Output in CSV, HTML,... Drag ‘n’ Drop Tables to Worksheet Drag ‘n’ Drop Tables to Worksheet Drag ‘n’ Drop Tables to Model Drag ‘n’ Drop Tables to Model PL/SQL Output PL/SQL Output Schema Browser Schema Browser Ctrl+Click, Shift+F4, Object Search Ctrl+Click, Shift+F4, Object Search Copying Grids w/ Column Headers Copying Grids w/ Column Headers XML Extensions XML Extensions All of my #SQLDev Posts :) All of my #SQLDev Posts :) The Tips in Blog Format
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.