Oracle® SQL Developer User's Guide Release 20.2 F32400-01 June 2020 Oracle SQL Developer User's Guide, Release 20.2 F32400-01 Copyright © 2006, 2020, Oracle and/or its affiliates. Primary Author: Celin Cherian Contributing Authors: Chuck Murray This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or “commercial computer software documentation” pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle. Contents Preface Audience xxvi Documentation Accessibility xxvi Product Accessibility xxvi Related Documents xxvi Conventions xxvii Third-Party License Information xxvii 1 Changes in Release 20.2 for Oracle SQL Developer User's Guide 2 SQL Developer Concepts and Usage 2.1 About SQL Developer 2-2 2.2 Installing and Getting Started with SQL Developer 2-2 2.3 SQL Developer User Interface 2-3 2.3.1 Menus for SQL Developer 2-7 2.3.2 Restoring the Original "Look and Feel" 2-12 2.4 Database Objects 2-13 2.4.1 Applications (Application Express 3.0.1 and Later) 2-13 2.4.2 Cache Groups (Oracle TimesTen In-Memory Database) 2-14 2.4.3 Chains 2-14 2.4.4 Credentials 2-15 2.4.5 Database Destinations 2-15 2.4.6 Database Links (Public and Private) 2-15 2.4.7 Destination Groups 2-15 2.4.8 Directories 2-16 2.4.9 Editions 2-16 2.4.10 File Watchers 2-16 2.4.11 Functions 2-16 2.4.12 Indexes 2-17 2.4.13 Java Sources 2-18 2.4.14 Jobs 2-18 iii 2.4.15 Job Classes 2-18 2.4.16 Operators 2-18 2.4.17 Materialized Views 2-19 2.4.18 Materialized View Logs 2-19 2.4.19 Multitenant Container Database (CDB) 2-19 2.4.20 Packages 2-19 2.4.21 Procedures 2-20 2.4.22 Programs 2-21 2.4.23 Queues 2-21 2.4.24 Queue Tables 2-21 2.4.25 Recycle Bin 2-21 2.4.26 Replication Schemes (Oracle TimesTen In-Memory Database) 2-22 2.4.27 Schedules 2-22 2.4.28 Sequences 2-22 2.4.29 Synonyms (Public and Private) 2-22 2.4.30 Tables 2-22 2.4.30.1 Flashback Table Support 2-25 2.4.31 Triggers 2-25 2.4.32 Types 2-25 2.4.33 Users (Other Users) 2-25 2.4.34 Views 2-26 2.4.35 Window Groups 2-26 2.4.36 Windows 2-27 2.4.37 XML DB Repository 2-27 2.4.38 XML Schemas 2-27 2.4.39 Captured and Converted Database Objects (for Migration) 2-27 2.5 Database Connections 2-28 2.5.1 Using Folders to Group Connections 2-30 2.5.2 Sharing of Connections 2-31 2.5.3 Advanced Security for JDBC Connection to the Database 2-31 2.5.4 Connections with Operating System (OS) Authentication 2-31 2.5.5 Connections with Proxy Authentication 2-32 2.5.6 Connections with SSH Authentication 2-33 2.6 Entering and Modifying Data 2-34 2.7 Running and Debugging Functions and Procedures 2-36 2.7.1 Using Bookmarks When Editing Functions and Procedures 2-38 2.7.2 Remote Debugging 2-38 2.7.3 Displaying SQL Trace (.trc) Files 2-39 2.7.4 Using the PL/SQL Hierarchical Profiler 2-39 2.7.5 Setting Expression Watches 2-40 2.7.6 Semantic Analysis 2-40 iv 2.7.6.1 SQL Injection Detection 2-40 2.8 Using the SQL Worksheet 2-42 2.8.1 SQL*Plus Statements Supported in SQL Worksheet 2-45 2.8.2 Script Runner 2-46 2.8.3 Execution Plan 2-47 2.8.4 Autotrace Pane 2-47 2.8.5 DBMS Output Pane 2-48 2.8.6 OWA Output Pane 2-48 2.8.7 SQL History 2-48 2.8.8 Query Builder 2-49 2.8.9 Command-Line Interface for SQL Formatting 2-50 2.8.10 SQL Worksheet "Hints" for Formatting Output 2-50 2.8.11 Gauges: In the SQL Worksheet and User-Defined Reports 2-51 2.8.12 Entering OLAP DML Statements in the SQL Worksheet 2-52 2.9 Using Snippets to Insert Code Fragments 2-52 2.9.1 User-Defined Snippets 2-53 2.10 Finding Database Objects 2-53 2.11 Using Recent Objects 2-54 2.12 Using Versioning 2-55 2.12.1 About Subversion and SQL Developer 2-55 2.12.2 Pending Changes 2-56 2.13 Using DBA Features in SQL Developer 2-56 2.13.1 Container Database (CDB) 2-59 2.13.2 Database Configuration 2-59 2.13.2.1 Initialization Parameters 2-59 2.13.2.2 Automatic Undo Management 2-59 2.13.2.3 Current Database Properties 2-59 2.13.2.4 Restore Points 2-60 2.13.2.5 View Database Feature Usage 2-60 2.13.3 Database Status 2-60 2.13.3.1 Status 2-60 2.13.3.2 DB Instance 2-60 2.13.3.3 Instance Viewer 2-60 2.13.4 Data Guard 2-61 2.13.5 Data Pump 2-61 2.13.5.1 Export Jobs 2-61 2.13.5.2 Import Jobs 2-61 2.13.6 Oracle Sharding 2-61 2.13.7 Performance 2-63 2.13.7.1 Snapshots 2-63 2.13.7.2 Baselines 2-63 v 2.13.7.3 Baseline Templates 2-63 2.13.7.4 Automatic Database Diagnostic Monitor (ADDM) 2-64 2.13.7.5 ASH (Active Session History) Report Viewer 2-64 2.13.7.6 AWR (Automatic Workload Repository) 2-64 2.13.8 RMAN Backup/Recovery 2-64 2.13.8.1 Backup Jobs 2-65 2.13.8.2 Backup Sets 2-65 2.13.8.3 Image Copies 2-65 2.13.8.4 RMAN Settings 2-65 2.13.8.5 Scheduled RMAN Actions 2-65 2.13.8.6 Using Action Jobs 2-65 2.13.9 Resource Manager 2-66 2.13.9.1 Consumer Group Mappings 2-66 2.13.9.2 Consumer Groups 2-66 2.13.9.3 Plans 2-66 2.13.9.4 Settings 2-67 2.13.9.5 Statistics 2-67 2.13.10 SQL Translator FrameWork 2-67 2.13.10.1 SQL Translator Profiles 2-67 2.13.10.2 SQL Translators 2-67 2.13.11 Scheduler 2-67 2.13.11.1 Global Attributes 2-67 2.13.11.2 Job Classes 2-67 2.13.11.3 External Destinations 2-67 2.13.12 Security 2-68 2.13.12.1 Audit Settings 2-68 2.13.12.2 Profiles 2-68 2.13.12.3 Roles 2-68 2.13.12.4 Users 2-68 2.13.13 Storage 2-68 2.13.13.1 Archive Logs 2-68 2.13.13.2 Control Files 2-68 2.13.13.3 Datafiles 2-68 2.13.13.4 Redo Log Groups 2-69 2.13.13.5 Rollback Segments 2-69 2.13.13.6 Tablespaces 2-69 2.13.13.7 Temporary Tablespace Groups 2-69 2.13.14 Tuning 2-69 2.13.14.1 Real Time SQL Monitor 2-69 2.14 Scheduling Jobs Using SQL Developer 2-69 2.14.1 Scheduler Design Editor 2-71 vi 2.15 Using the Cart 2-71 2.15.1 Adding Data Files to the Cart 2-74 2.15.2 Cart Versus Database Export Wizard 2-75 2.16 Spatial Support in SQL Developer 2-76 2.16.1 Context Menu Operations on Spatial Data and Metadata 2-76 2.16.2 Map Visualization of Spatial Data 2-76 2.16.2.1 Visualizing Geometries by Creating and Executing a Query 2-77 2.16.2.2 Visualizing Geometries from the Table Data Grid 2-78 2.17 Change Manager Support in SQL Developer 2-78 2.17.1 Change Plan Administrators
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages536 Page
-
File Size-